c# - How to pass value from page to User Control? -
i using 1 user control in page. after login page coming user control. wanted pass user name in user control login page.
there many ways achieve this
- as 1 find control
- store value in session , set value session
- create public method of user control set value of label.. , call usercontrol.setpagelabel() method page @ desired places....
make sure have label in update panel other wise label text changed not visible on screen...
or can use javascript set label...
Comments
Post a Comment