I am trying to create a user control that I can pass in a string value, that
is read from the cookie and defined as a public string in the code behind.
The GetConsultantId (); method never gets called. How can I pass in a dynamic
value to a user control ? Is this even possible.
<CUSTOMTOP:WEBC USTOMCONTROL1 id="WebCustomCo ntrol1"
consultantid=<% GetConsultantId ();%>
is read from the cookie and defined as a public string in the code behind.
The GetConsultantId (); method never gets called. How can I pass in a dynamic
value to a user control ? Is this even possible.
<CUSTOMTOP:WEBC USTOMCONTROL1 id="WebCustomCo ntrol1"
consultantid=<% GetConsultantId ();%>
Comment