c# - ASP Label inside a panel not displaying user input -


i have label inside table inside panel.

edit , save working when try display them, label not showing data? :/

 <asp:label id="lblfullname" runat="server"                              text="label" visible="false" enableviewstate="false"></asp:label> 

this code behind

public void displayprofile() {        this.setelementsfordisplaying();         lblfullname.text = this.profile.profiledetail.fullname;                      } void setelementsfordisplaying()  {  //pnlstart.visible = false;  pnldisplayvalues.visible = true;  pnlsetvalues.visible = false;  litusertitle.visible = true;  litusertitle.text = string.format("display profile {0}", this.profile.username);    lblfullname.visible = true;  } 

public void displayprofile() {     this.setelementsfordisplaying();    lblfullname.visible=true;    lblfullname.text = this.profile.profiledetail.fullname;     } 

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 -