Hi, in SearchBox, when the field being searched is a date, we would like to be able to search via the 'smart parsing engine' of DateInput.
There's a problem with radSearchbox inserted in a radWindow contenttemplate. On First show then inputText width is equal to 0 until a contextitem is selected or a button pushed . (test on ie10 firefox and chrome) code example : <telerik:RadWindow runat="server" ID="RadWindow1" Modal="true" AutoSize="true" Behaviors="Close,Move"> <ContentTemplate> <telerik:RadSearchBox ID="RadSearchBox1" runat="server" Width="350" SearchContext-ShowDefaultItem="False" OnClientSearch="onClientSearch" OnClientButtonCommand="onClientButtonCommand" ShowSearchButton="false" Skin="Default"> <DropDownSettings Height="150" Width="300" /> <Localization LoadingItemsMessage="recherche en cours....." DefaultItemText="Saisissez le nom du point ici" /> <WebServiceSettings Path="PointDeTournee.aspx" Method="GetResults" /> <SearchContext> <Items> <telerik:SearchContextItem Text="POI" Key="1" ImageUrl="../Img/POI/Special_Divers-Bl.bmp" Selected="true"/> <telerik:SearchContextItem Text="PA" Key="2" ImageUrl="../Img/POI/PA.bmp" /> </Items> </SearchContext> </telerik:RadSearchBox> </ContentTemplate> </telerik:RadWindow>
- Add Filter="None" (as discussed here: http://www.telerik.com/community/forums/aspnet-ajax/search-box/how-can-i-set-filter-to-none.aspx).
Please implement WAI-ARIA support in RadSearchBox with and without a Search Context. It needs the same type of logic added as the AutoComplete and ComboBox control so that JAWS can speak and navigate the list items properly. It looks like there was a little started because it renders an ARIA live region for status, but never writes to it from what I can tell. I know this document lists the current controls that support ARIA - http://docs.telerik.com/devtools/aspnet-ajax/controls/wai-aria-support-and-screen-readers Thanks, Mike
A workaround is to disable the embedded jQuery and use an older version (for example, 1.11.1 which is the previous version the suite used): https://docs.telerik.com/devtools/aspnet-ajax/controls/scriptmanager/disabling-the-embedded-jquery Repro steps: - Put a searchbox on the page with some data source - Hook its postback handler, OnSearch - search something in it, select the item to postback expected: search fired actual: JS error in FF <telerik:RadSearchBox RenderMode="Lightweight" runat="server" ID="RadSearchBox1" DataTextField="Name" DataValueField="id" OnSearch="RadSearchBox1_Search"> </telerik:RadSearchBox> protected void Page_Load(object sender, EventArgs e) { RadSearchBox1.DataSource = GetData(); RadSearchBox1.DataBind(); } protected DataTable GetData() { DataTable tbl = new DataTable(); tbl.Columns.Add(new DataColumn("id", typeof(decimal))); tbl.Columns.Add(new DataColumn("Name", typeof(string))); tbl.Columns.Add(new DataColumn("Reason", typeof(string))); tbl.Columns.Add(new DataColumn("someField", typeof(decimal))); tbl.Columns.Add(new DataColumn("anotherField", typeof(string))); tbl.Rows.Add(new object[] { 1, "one", "fi\\nrst", 2, "5" }); tbl.Rows.Add(new object[] { 2, "two", @"se\ncond", 3, null/*SIMULATE EMPTY VALUE*/ }); tbl.Rows.Add(new object[] { 3, "three", "third", 4, "5" }); tbl.Rows.Add(new object[] { 4, "four", "fourth", 5, "5" }); return tbl; } protected void RadSearchBox1_Search(object sender, SearchBoxEventArgs e) { Response.Write(DateTime.Now.ToString()); }