Skip to content

USER CONTROL IN ASPX PAGE

udaya kumar

Asked Jul 27, 2007, 8:26 AM EDT2 answers
Share
LinkedInX

How to get the session id from a windows user control of an aspx  page which contains

the same user control?

regards,
Udhay

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0
    do you mean a web form user control (ascx extension)  that is contained 2x in the same web form (aspx page)?   One suggestion would be to name the session key differently in each user control based on the id of the control (e.g.  String.Format("City_{0}", ID);
    0
  • 0

    No, It is a windows user control.
    i have embedded it using the following code in the aspx page.
    .......
    <object id="MyUploader" classid="Uploader.dll#Uploader.UserControl1">
    </object>
    .......
    where Uploader.dll is the windowscontrolllibrary i created.

    0