Hello,
I am working on a site which has to have a search form on every page. So I decided to put it in a Master page. Then on the submit button I place the following property:
From a page (say the Default.aspx one) I access the search form controls with the following code:Code:PostBackUrl="~/Search.aspx"
My problem is that the controls are not populated with the entered from the user data.Code:TextBox tbPriceFrom = (TextBox)Master.FindControl("tbPriceFrom"); TextBox tbPriceTo = (TextBox)Master.FindControl("tbPriceTo");
Please, help.
Thanks.




Reply With Quote