Posted on 2008-11-14
I have created an web form in asp.net/c#. When a user types something in a textbox and presses a button, the gridview shows the matching records. That works just fine.
Now the problem that I am having is that when I move the textbox and button to the master page, I am experiencing some issues. The issues I am experiencing are:
1. The GridView's Stored procedure can't find the new control.
2. When the page opens, that has the search results, the results of the text box are lost.
This should happen- a user types in the textbox and presses submit, the new page opens (in the same window) and shows matching records. I am a beginner to asp.net/c#. If someone could let me know how to do this step by step, that would be appreciated. Thanks!