Hi,
I am using telerik grid with search boxes in header. When I type some text in any search box an ajax loading panel appears and grid shows all filtered records. But the cursor remains in the search box and when I type anything in there and hit Enter it doesn't filters the record. I have to click out side the search box and then cilck in it again and it works fine. I am referring your example
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/filtering/defaultcs.aspx
In your example the cursor doesn't stay in the search box.
I dont want the cursor to stay in the search box. Am I missing something in my code.
Following is my code
<telerik:RadGrid AutoGenerateColumns="false" ID="RadGrid1" DataSourceID="dsUserList"
Width="760px" AllowFilteringByColumn="True" AllowSorting="True"
PageSize="15" ShowFooter="True" AllowPaging="True" runat="server"
GridLines="None" EnableLinqExpressions="false" >
<PagerStyle Mode="NextPrevAndNumeric" />
<GroupingSettings CaseSensitive="false" />
<MasterTableView AutoGenerateColumns="false" EditMode="InPlace" AllowFilteringByColumn="True"
ShowFooter="True" TableLayout="Auto">
<Columns>
<telerik:GridNumericColumn DataField="UIN" HeaderText="UIN" SortExpression="UIN"
UniqueName="UIN" FilterControlWidth="40px" AutoPostBackOnFilter="true" CurrentFilterFunction="equalto" FilterDelay="4000" ShowFilterIcon="false">
</telerik:GridNumericColumn>
<telerik:GridBoundColumn FilterControlWidth="105px" DataField="Email" HeaderText="Email" SortExpression="Email"
UniqueName="Email" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn FilterControlWidth="50px" DataField="Name" HeaderText="Name" SortExpression="Name"
UniqueName="Name" AutoPostBackOnFilter="true" CurrentFilterFunction="StartsWith" ShowFilterIcon="false">
</telerik:GridBoundColumn>
<telerik:GridDateTimeColumn FilterControlWidth="120px" DataField="Date_Entered" HeaderText="Date_Entered" SortExpression="Date_Entered"
UniqueName="Date_Entered" PickerType="DatePicker" DataFormatString="{0:d}">
<HeaderStyle Width="160px" />
</telerik:GridDateTimeColumn>
</Columns>
</MasterTableView>
<ClientSettings>
<Scrolling AllowScroll="false" />
</ClientSettings>
</telerik:RadGrid>
Regards,
Lubna.
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
|
[MissingMethodException: No parameterless constructor defined for this object.] Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider.OnDataSourceOperationComplete(Int32 count, Exception e) +39 System.Web.UI.DataSourceView.Delete(IDictionary keys, IDictionary oldValues, DataSourceViewOperationCallback callback) +83 Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider.Delete(RadScheduler owner, Appointment appointmentToDelete) +262 Telerik.Web.UI.Scheduling.AppointmentController.DeleteAppointmentThroughProvider(Appointment appointmentToDelete) +170 Telerik.Web.UI.Scheduling.AppointmentController.DeleteAppointment(Appointment appointmentToDelete, Boolean deleteSeries) +1833 Telerik.Web.UI.RadScheduler.DeleteAppointment(Appointment appointmentToDelete) +109 Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack) +2427 Telerik.Web.UI.RadScheduler.RaisePostBackEvent(String eventArgument) +108 Telerik.Web.UI.RadScheduler.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +42 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +176 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563 |

When I don't use the MasterPage, it works fine.
-- Bad Row Open
[48] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl17$GECBtnExpandColumn"
-- Good Row Open
[48] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl16$GECBtnExpandColumn"
-- Good Row Close
[48] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl16$GECBtnExpandColumn"
-- Good Filter
[44] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl02$ctl01$btnLocationOk"
-- Bad Row Open
[44] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl05$GECBtnExpandColumn"
-- Good Row Open
[44] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl04$GECBtnExpandColumn"
-- Good Row Close
[44] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl04$GECBtnExpandColumn"