i have below html. how do i clear the filterexpression when the textbox is empty..please help someone...TQ
<%@ Page Title="" Language="C#" MasterPageFile="~/SiteGeneral.Master" AutoEventWireup="true" CodeBehind="TestAdmin_View.aspx.cs" Inherits="ecevas.Main.TestAdmin_View" %>
ServiceMethod="SearchNopkj" TargetControlID="txtNopkj"
MinimumPrefixLength="1" EnableCaching="true" CompletionSetCount="1" CompletionInterval="1000"
CompletionListCssClass="autocomplete_completionListElement"
CompletionListItemCssClass="autocomplete_listItem"
CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" >
<%--
DelimiterCharacters="" Enabled="True" ServiceMethod="SearchAgency" TargetControlID="txtags_name"
MinimumPrefixLength="1" EnableCaching="true" CompletionSetCount="1" CompletionInterval="1000"
CompletionListCssClass="autocomplete_completionListElement"
CompletionListItemCssClass="autocomplete_listItem"
CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" >
--%>
AllowPaging="True" PageSize="5">
<%# Container.DataItemIndex + 1 %>
<%-- kena tambah session id rep_id untuk tentuka report form 20 jan 2014 --%>
<%----%>
<%----%>
SelectCommand="SELECT [sl_ss_id], [sl_term_id], [sl_cou_id], [sl_group_id], [sl_fr_id], [sl_lect_id], [sl_rep_id], [sl_cou_bm], [sl_cou_bi], [sl_enrolled], [sl_evaluated], [sl_total], [sl_percentage], [sl_datecreate] FROM [score_lecturer] WHERE ([sl_term_id] = @sl_term_id)"
FilterExpression="Convert(sl_lect_id, 'System.String') LIKE '%{0}%'">
.
MinimumPrefixLength="1" EnableCaching="true" CompletionSetCount="1" CompletionInterval="1000"
CompletionListCssClass="autocomplete_completionListElement"
CompletionListItemCssClass="autocomplete_listItem"
CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" >
<%--
MinimumPrefixLength="1" EnableCaching="true" CompletionSetCount="1" CompletionInterval="1000"
CompletionListCssClass="autocomplete_completionListElement"
CompletionListItemCssClass="autocomplete_listItem"
CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" >
--%>
<%# Container.DataItemIndex + 1 %>
<%-- kena tambah session id rep_id untuk tentuka report form 20 jan 2014 --%>
<%--
<%--
FilterExpression="Convert(sl_lect_id, 'System.String') LIKE '%{0}%'">
Hazel MahmudPosted Nov 15, 2016, 11:35 PM
Hazel MahmudPosted Nov 13, 2016, 9:50 PM
Bikesh SrivastavaPosted Nov 13, 2016, 1:29 PM