Filter GridView on TextBox KeyPress using jQuery in ASP.Net

Last Reply on Jan 13, 2017 03:11 AM By dharmendr

Posted on Jan 13, 2017 03:11 AM

i want my serach box to perform search operation whichpefrom searching i want my to serach data as per the category

menas if i search saree then it will display saree .

 

<div class="col-md-6 col-sm-6 col-xs-8 mysearch">
                <div class="header-search">
                    <input name="search" id="ctl00_txtsearch" placeholder="Search" type="text">
                    <asp:LinkButton ID="lnkBestSellers" CssClass="btn btn-block" Text="Search"
                        runat="server" onclick="lnkBestSellers_Click" />
                </div>
            </div>
        </div>

i used textbox and button one method

<div class="col-md-6 col-sm-6 col-xs-8 mysearch">
                <div class="header-search">
                    <div onkeypress="javascript:return WebForm_FireDefaultButton(event, 'ctl00_lnkSearch')">
                        <input name="ctl00$txtsearch" id="ctl00_txtsearch" placeholder="Search" type="text"><a
                            id="ctl00_lnkSearch" href="javascript:__doPostBack('ctl00$lnkSearch','')">SEARCH</a>
                    </div>
                </div>
            </div>

another using juery.. cananyone tell me what should i  do for both

You are viewing reply posted by: dharmendr on Jan 13, 2017 03:11 AM.
Posted on Jan 13, 2017 03:11 AM