Hi guys i have a question, i'm try to get the value of a textbox control that placed inside a master page, i used this code for retrieving back the texbox values:
Now, if I try to get the textbox value where i'm in the target page (the page that contain that cod) there is no problem.Code:If Not Page.PreviousPage Is Nothing Then search = TryCast(Master.Page.PreviousPage.FindControl("SearchPost"), TextBox) If Not search Is Nothing Then Response.Write("My Text: " & search.Text) End If Else search = TryCast(Master.FindControl("SearchPost"), TextBox) End If
but if i'm posting it from Page A to Page B (target page) i can't get the master page textbox control value.
any suggestions ?




If you Like it 
Reply With Quote