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

  1. as 1 find control
  2. store value in session , set value session
  3. 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...

http://center4code.com/


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -