I'm using the Clear_filters routine that was posted elsewhere on the Telerik site. It works fine and DOES reset the Grid by removing any filters, including the dates from the radDatePicker, however, it doesn't change the display date on the Calendar back to the Default date?
The below doesn't work.
The below doesn't work.
Protected Sub Clearfilters_Click(sender As Object, e As System.EventArgs) Handles Clearfilters.Click RiskAssessmentsGrid.MasterTableView.FilterExpression = String.Empty For Each column As GridColumn In RiskAssessmentsGrid.MasterTableView.RenderColumns If TypeOf column Is GridBoundColumn Then Dim boundColumn As GridBoundColumn = TryCast(column, GridBoundColumn) boundColumn.CurrentFilterValue = String.Empty End If Next For Each item As GridFilteringItem In RiskAssessmentsGrid.MasterTableView.GetItems(GridItemType.FilteringItem) Dim f As RadDatePicker = DirectCast(item.FindControl("FromDateCreatedPicker"), RadDatePicker) Dim t As RadDatePicker = DirectCast(item.FindControl("ToDateCreatedPicker"), RadDatePicker) f.SelectedDate = DateTime.Now.Date t.SelectedDate = DateTime.Now.Date Next RiskAssessmentsGrid.MasterTableView.Rebind() RiskAssessmentsGrid.Rebind() End Sub