or
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="updateDate"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="headerOutput" /> <telerik:AjaxUpdatedControl ControlID="myOutput" /> <telerik:AjaxUpdatedControl ControlID="headRepeat" /> <telerik:AjaxUpdatedControl ControlID="userInfoOutput" /> <telerik:AjaxUpdatedControl ControlID="userBlockChart" /> <telerik:AjaxUpdatedControl ControlID="output" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager><telerik:RadAjaxPanel ID="RadAjaxPanel2" runat="server" LoadingPanelID="RadAjaxLoadingPanel1"> <telerik:RadToolTip ID="headerOutput" Skin="Windows7" Position="Center" runat="server" CssClass="headerTooltip" Height="60" Width="220" AutoCloseDelay="4000"></telerik:RadToolTip> <asp:Label ID="myOutput" runat="server"></asp:Label> <br /> <asp:Repeater ID="headRepeat" runat="server"> <ItemTemplate> <div class="headerImageRepeat" id="headerDiv" runat="server"> <table cellpadding="0" cellspacing="0" style="height: 70px;"> <tr> <td style="padding-left: 10px; padding-top: 5px; padding-right: 10px;" valign="top"> <asp:ImageButton ID="headerImage" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "headerImageUrl") %>' CommandName="showUsers" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ID") %>' /> </td> <td style="padding-bottom: 5px; padding-top: 5px;" valign="bottom"> <asp:Label ID="memberName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "memberNameOutput") %>'></asp:Label><br /> <span class="headerGoal"><asp:Label ID="memberHours" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "memberHoursOutput") %>'></asp:Label> hours per day</span><br /> <table cellpadding="0" cellspacing="0" border="0"><tr><td valign="middle" class="headerGoal"> Goal: <asp:textbox CssClass="goalTextbox" ID="goalInput" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "memberGoalOutput") %>' Width="40px"></asp:textbox> </td><td valign="top" class="headerGoal"><asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../images/save.png" CommandName="updateHours" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ID") %>' /> </td></tr> </table> </td> </tr> </table> </div> </ItemTemplate> </asp:Repeater> </telerik:RadAjaxPanel>'they clicked the save button in header for goal hours Private Sub headRepeat_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.RepeaterCommandEventArgs) Handles headRepeat.ItemCommand If (e.CommandName.ToString = "showUser") Then '************************************************************* '************************************************************* '************************************************************* 'this is not getting updated userInfoOutput.Text = "test" End If 'if e.commandNmae = showUser 'if they clicked the save in the repeater If (e.CommandName.ToString = "updateHours") Then Dim memberId = e.CommandArgument.ToString Dim currentUser = Membership.GetUser.ProviderUserKey.ToString Dim hoursTextbox = TryCast(e.Item.FindControl("goalInput"), TextBox) Dim hoursInput = hoursTextbox.Text 'check if we have a number otherwise we tell them we need a number If (IsNumeric(hoursInput)) Then Dim sql = "SELECT * FROM MemberGoal WHERE memberId = '" & memberId & "' AND webUserId = '" & currentUser & "'" 'if this has a row then we update, otherwise we insert If (awesome.checkRecord(sql, dashConn)) Then sql = "UPDATE MemberGoal SET hourGoal = " & hoursInput & " WHERE memberId = '" & memberId & "' AND webUserId = '" & currentUser & "'" Else 'we are inserting sql = "INSERT INTO MemberGoal(hourGoal, memberId, webUserId) VALUES(" & hoursInput & ", '" & memberId & "', '" & currentUser & "')" End If 'if awesome.executeQuery(sql, dashConn) '************************************************************* '************************************************************* '************************************************************* 'this is not getting updated headerOutput.Text = "<center style='padding-top: 20px;'>The hours were updated for the user</center>" headerOutput.Show() Else 'else we need to tell them we need a number headerOutput.Text = "<center style='padding-top: 20px;' class='errorText'>Please enter a number.</center>" headerOutput.Show() End If 'if isnumeric End If 'if e.commandname End SubdtRADCalender.SelectedDate.ToUniversalTime();

I have added a search function to my grid, essentially a stored procedure to refine the grid display for a term entered by the user that occurs in any of 2 columns.
This works fine initially, but isnt maintained for any actions such as paging, edit or cancel, the grid then returns to the initial default databinding of all records.
I added a Clear button to allow the user to load all records again, but would like to be able to make any search done persist and only show these records until the user clicks clear or page reloads.
RadEditor1.SpellCheckSettings.DictionaryPath = "/include/RadControls/Spell/TDF"If Threading.Thread.CurrentThread.CurrentCulture.Name.ToLower() = "es-pr" Then RadEditor1.SpellCheckSettings.DictionaryLanguage = "es-ES" RadEditor1.SpellCheckSettings.SpellCheckProvider = Telerik.Web.UI.SpellCheckProvider.EditDistanceProviderElse RadEditor1.SpellCheckSettings.DictionaryLanguage = "es-US" RadEditor1.SpellCheckSettings.SpellCheckProvider = Telerik.Web.UI.SpellCheckProvider.PhoneticProviderEnd If
<telerik:RadEditor ID="RadEditor1" runat="server" SpellCheckSettings-DictionaryPath="/include/RadControls/Spell/TDF"> <Content> </Content></telerik:RadEditor><ItemTemplate> <telerik:RadContextMenu runat="server" ID="MenuDocument" Skin="WebBlue" EnableRoundedCorners="true" EnableShadows="true" EnableViewState="true" OnItemClick="RdDocumentMenu_ItemClick" OnClientItemClicking="OnDocumentMenuClicking"> <Items> <telerik:RadMenuItem Text="ManageDesignProcess.editstep.lblMnuItemDocumentEdit" Value="Edit" ImageUrl='~/Images /menu/menu_sub.gif' ImageOverUrl='~/Images/menu/over/menu_sub.gif'/> </Items> </telerik:RadContextMenu></ItemTemplate> protected void RdDocumentMenu_ItemClick(object sender, RadMenuEventArgs e) { string sDocumentClickedRowIndex; string sUId; sDocumentClickedRowIndex = lblRowIndex.Text; sUId = rdMethodClickedTableId.Text; GridTableView tableView = this.Page.FindControl(sUId) as GridTableView; GridDataItem dataItem = tableView.Items[sDocumentClickedRowIndex]; (??)
}