W
WebBuilder451
I'm using the master page for a single post back operation to another page
and i'm having trouble finding how to get a previous master page textbox.
Note: both pages use the same masterpage.
this is what iv'e tried so far but this does not fire.
protected void Page_Load(object sender, EventArgs e)
{
if (PreviousPage != null)
{
tbTrepID.Text =
((TextBox)PreviousPage.NamingContainer.FindControl("tbTrepID")).Text;
}
}
--
(i''ll be asking a lot of these, but I find C# totally way cooler than vb
and there''s no go''n back!!!)
thanks (as always)
kes
and i'm having trouble finding how to get a previous master page textbox.
Note: both pages use the same masterpage.
this is what iv'e tried so far but this does not fire.
protected void Page_Load(object sender, EventArgs e)
{
if (PreviousPage != null)
{
tbTrepID.Text =
((TextBox)PreviousPage.NamingContainer.FindControl("tbTrepID")).Text;
}
}
--
(i''ll be asking a lot of these, but I find C# totally way cooler than vb
and there''s no go''n back!!!)
thanks (as always)
kes