Author: ravi_y4u | Posted on: 11/16/2008 5:14:31 AM | Views : 252

Hi,

I have one hypherlink in which i have some text and two labels which display FirstName and LastName.It has link to another page.It is displaying all for the  first time when i run the page but when the post back takes place i couldn't see the hypherlink.Then i tried using this code in If(IsPostBack)

hlname.Controls.Add(lblFirstName);

hlname.Controls.Add(lblLastName);

Now Hypherlink is  displaying FirstName and LastName but not the text User Name# which is inside hypherlink along with labels.

How can we display the text username# along with labels.

Please help me.

I have given the code here.

<%@ Page Language="C#" Go to the complete details ...