Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p></p> <pre><code>&lt;form id="form1" runat="server"&gt; &lt;table&gt; &lt;asp:ListBox ID="ListBox1" runat="server"&gt; &lt;asp:ListItem Text="Abc" Value="Abc"&gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text="Ab" Value="Ab"&gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text="dbc" Value="dbc"&gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text="dc" Value="dc"&gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text="ebc" Value="ebc"&gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text="ecf" Value="ecf"&gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text="fgc" Value="fgc"&gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text="fhg" Value="fhg"&gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text="qwe" Value="qwe"&gt;&lt;/asp:ListItem&gt; &lt;/asp:ListBox&gt; &lt;br /&gt; &lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt; &lt;/table&gt; &lt;/form&gt; &lt;script type="text/javascript"&gt; function DoListBoxFilter(listBoxSelector, filter, keys, values) { var list = $(listBoxSelector); var selectBase = '&lt;option value="{0}"&gt;{1}&lt;/option&gt;'; list.empty(); for (i = 0; i &lt; values.length; ++i) { var value = values[i]; if (value == "" || value.toLowerCase().indexOf(filter.toLowerCase()) &gt;= 0) { var temp = '&lt;option value="'+keys[i]+'"&gt;'+value+'&lt;/option&gt;' ; list.append(temp); } } } var keys=[]; var values=[]; var options=$('#&lt;% = ListBox1.ClientID %&gt; option'); $.each(options, function (index, item) { keys.push(item.value); values.push(item.innerHTML); }); $('#&lt;% = TextBox1.ClientID %&gt;').keyup(function() { var filter = $(this).val(); DoListBoxFilter('#&lt;% = ListBox1.ClientID %&gt;', filter, keys, values); </code></pre> <p>}); </p> <p>and finally this answer my question ,, and if i could find another one for grid view this will be great,, thanks for all guys who help me..</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload