or
| <FilterTemplate> |
| Show: |
| <asp:DropDownList runat="server" ID="ddlFilter" OnSelectedIndexChanged="FilterCombo_SelectedIndexChanged" |
| AutoPostBack="true"> |
| <asp:ListItem Value="None" Text="All Cases" /> |
| <asp:ListItem Value="Pediatric" Text="Pediatric only" /> |
| </asp:DropDownList> |
| </FilterTemplate> |
| Protected Sub FilterCombo_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) |
| Dim filterExpression As String |
| If CType(sender, DropDownList).SelectedValue = "Pediatric" Then |
| filterExpression = "([Pediatric] = True)" |
| Else |
| filterExpression = String.Empty |
| End If |
| RadGridCases.MasterTableView.FilterExpression = filterExpression |
| RadGridCases.MasterTableView.Rebind() |
| End Sub |
| Protected Sub RadGridCases_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGridCases.ItemCreated |
| If TypeOf (e.Item) Is Telerik.Web.UI.GridFilteringItem Then |
| If Not RadGridCases.MasterTableView.FilterExpression Is String.Empty Then |
| CType(e.Item.FindControl("ddlFilter"), DropDownList).SelectedValue = "Pediatric" |
| End If |
| End If |
| End Sub |
| <telerik:GridCheckBoxColumn DataField="Pediatric" AllowFiltering="true" /> |

Hi,
I am calling a radconfirm from a web page. After the user clicks on "OK or "Cancel" the radconfirm closes, the callback function gets invoked, but the focus is not returned to the control that had it before opening the radconfirm window.
I could set it by calling .focus() but I have more than 25 textboxes and I do not want to keep track of the control with the current focus. Using the standard browser confirmation windows keeps the focus were it was before opened.
Is there any possible solution for this? It forces the user to grab the mouse and click back on the page.
Thanks.

| <telerik:radcalendar id="radCalSearch" runat="server" | |
| enablemultiselect="false" | |
| showrowheaders="true" | |
| UseColumnHeadersAsSelectors="true" | |
| UseRowHeadersAsSelectors="true" | |
| enablenavigationanimation="false" | |
| fastnavigationnextimage="~/images/btn_RadCal_FN.jpg" | |
| fastnavigationprevimage="~/images/btn_RadCal_FP.jpg" | |
| navigationnextimage="~/images/btn_RadCal_N.jpg" | |
| navigationprevimage="~/images/btn_RadCal_P.jpg" | |
| daynameformat="FirstTwoLetters" | |
| onselectionchanged="radCalSearch_SelectionChanged" AutoPostBack="true"> | |
| <SpecialDays> | |
| <telerik:RadCalendarDay Date="" Repeatable="Today"> | |
| <ItemStyle CssClass="radCalToday_Default" /> | |
| </telerik:RadCalendarDay> | |
| </SpecialDays> | |
| </telerik:radcalendar> |
| Protected Sub radCalSearch_SelectionChanged(ByVal sender As Object, ByVal e As Telerik.Web.UI.Calendar.SelectedDatesEventArgs) Handles radCalSearch.SelectionChanged | |
| Try | |
| SetSession(True, False) | |
| If intSearchTabID <> -1 Then | |
| Response.Redirect(NavigateURL(intSearchTabID, False)) | |
| End If | |
| Catch exc As Exception 'Module failed to load | |
| ProcessModuleLoadException(Me, exc) | |
| End Try | |
| End Sub |