Hi
I had divided main page into two Frmeset. For header frame source will
be Hedaer.Aspx and for second frame source will be Login.Aspx page .
Header.aspx contain login User Name as Label control (id = lblUser) which
will be blank on the Login page(Login.Aspx). But after validating user
name I like to show it on Header Page from Login.Aspx page.
I had tried to do it with following code, but it is not working. Can
anybody please help me to solve this problem.
Private Sub btnSubmit_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnSubmit.Click
Dim objFrmHeader As New Header()
Dim objLbl As New Web.UI.WebControls.Label()
objLbl = objFrmHeader.FindControl("lblUser")
objLbl.Text = "Welcome User "
server.transfer("NextPage.aspx",true)
End Sub
I hope you people are understanding what I want to say. If need further
elobration please let me know.
Thanks In Advance
Neeta