Hi
I have an input box on my Master page.
The only event to hand is 'OnTextChanged' so I can type something in the text box and hit enter or click the button and it posts back to the code 'Master_Search_TextChanged' however that is also true of moving your mouse out of the box and clinking on another link. The event 'Master_Search_TextChanged' is always fired regardless of ony change in user intention how can you stope this without using classic code of one text box and one button ?
I have tried using Javascript to consume or control events (eg 'DisableOffFocusSearching') as outlined in the code libs but nothing works.
Any suggestions
Doug.
I have an input box on my Master page.
The only event to hand is 'OnTextChanged' so I can type something in the text box and hit enter or click the button and it posts back to the code 'Master_Search_TextChanged' however that is also true of moving your mouse out of the box and clinking on another link. The event 'Master_Search_TextChanged' is always fired regardless of ony change in user intention how can you stope this without using classic code of one text box and one button ?
I have tried using Javascript to consume or control events (eg 'DisableOffFocusSearching') as outlined in the code libs but nothing works.
Any suggestions
Doug.
<div class="search FloatFlds"> |
<%-- <telerik:RadTextBox |
ID="Master_Search1" ShowButton="true" BorderWidth="0px" ButtonsPosition="Right" |
EmptyMessage="Search" AutoPostBack="true" CssClass="box-" runat="server" EnableAjaxSkinRendering="true" |
OnTextChanged="Master_Search_TextChanged" AutoCompleteType="Search" BorderStyle="None" |
Width="200px" Skin="WebBlue"> |
<ClientEvents OnButtonClick="DisableOffFocusSearching" /> |
</telerik:RadTextBox> --%> |
<div style="float: left; display: inline"> |
<asp:TextBox ID="Master_Search" runat="server" |
AutoCompleteType="Search" |
CssClass="box" BorderWidth="0px" Width="179px"></asp:TextBox></div> |
<div style="float: right; display: inline"> |
<asp:ImageButton ID="LinkButton19" BorderStyle="None" BorderWidth="0px" OnClick="Master_Search_TextChanged" |
ImageUrl="~/App_Themes/t/resources/css/images/buttons-bullets/search_btn.gif" |
runat="server" /></div> |
</div> <!--
function DisableOffFocusSearching(sender, eventArgs) {
--> |