I want to make my grideview, search when i click on btnSearch, however, I have to click cancel and go back in for me to see the search results?
<asp:UpdatePanel ID="UpdatePanel1" runat="server" align="left">
<ContentTemplate>
<asp:TextBox ID="txtSearch" runat="server" Style="margin-left:180px" AutoComplete="off"></asp:TextBox>
<asp:Button ID="btnSearch" runat="server" Text="Search" CssClass="btnInfoCSS" />
<br />
<br />
<asp:Panel runat="server" ID="pnl1" Style="max-height: 250px; margin-left:70px; overflow-y: scroll;" Width="485px">
<asp:GridView ID="LocationGridView" HeaderStyle-BackColor="#3AC0F2" HeaderStyle-Fore ...
Go to the complete details ...