or

| var radLoadingPanelContent = null; |
| var currentUpdatedControl = null; |
| function showLoadingGraphic() { |
| radLoadingPanelContent = $find("<%=radLoadingPanelContent.ClientID %>"); |
| currentUpdatedControl = "<%=divMainContent.ClientID %>"; |
| radLoadingPanelContent.show(currentUpdatedControl); |
| } |
| function hideLoadingGraphic() { |
| if (radLoadingPanelContent != null) { |
| radLoadingPanelContent.hide(currentUpdatedControl); |
| } |
| radLoadingPanelContent = null; |
| currentUpdatedControl = null; |
| } |
| function showLoadingGraphic() { |
| radLoadingPanelContent = document.getElementById("<%=radLoadingPanelContent.ClientID %>"); |
| radLoadingPanelContent.style.display = "block"; |
| } |
| function hideLoadingGraphic() { |
| radLoadingPanelContent = document.getElementById("<%=radLoadingPanelContent.ClientID %>"); |
| radLoadingPanelContent.style.display = "none"; |
| } |


I have implemented many RadGrids and they all work fine but for the life of me I can't understand why the "Update" command doesn't fire when I hit the update button. Here is my code:
Markup: This page is NOT ajaxified
<telerik:RadGrid ID="RadGridEmployees" runat="server" Visible="False" AutoGenerateColumns="False" GridLines="None" AllowSorting="True" AllowPaging="True" Width="975px" AllowAutomaticUpdates="false" AllowAutomaticInserts="false" AllowAutomaticDeletes="false"> <HeaderContextMenu> <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> </HeaderContextMenu> <PagerStyle Mode="NextPrevNumericAndAdvanced" /> <MasterTableView AllowPaging="true" PageSize="25" DataKeyNames="UserID" EditMode="InPlace" AllowAutomaticDeletes="false" AllowAutomaticInserts="false" AllowAutomaticUpdates="false"> <Columns> <telerik:GridEditCommandColumn ButtonType="ImageButton" > <ItemStyle VerticalAlign="Top" Width="5px" /> </telerik:GridEditCommandColumn> <telerik:GridBoundColumn AllowFiltering="False" DataField="UserID" Groupable="False" HeaderText="User ID" ReadOnly="True" SortExpression="UserID" UniqueName="UserID"> <ItemStyle Width="75" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn AllowFiltering="False" DataField="DIV_NUM" Groupable="False" HeaderText="Division" ReadOnly="True" SortExpression="DIV_NUM" UniqueName="DIV_NUM"> <ItemStyle Width="50" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn AllowFiltering="False" DataField="TIN_NUM" Groupable="False" HeaderText="TIN" ReadOnly="True" SortExpression="TIN_NUM" UniqueName="TIN_NUM"> <ItemStyle Width="100" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn AllowFiltering="False" DataField="FIRST_NAME" Groupable="False" HeaderText="First Name" ReadOnly="True" SortExpression="FIRST_NAME" UniqueName="FIRST_NAME"> <ItemStyle Width="75" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn AllowFiltering="False" Groupable="False" HeaderText="Last Name" ReadOnly="True" SortExpression="LAST_NAME" UniqueName="LAST_NAME" DataField="LAST_NAME"> <ItemStyle Width="75" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn AllowFiltering="False" DataField="BIRTH_YYYYMMDD" DataFormatString="{0:d}" Groupable="False" HeaderText="DOB" ReadOnly="True" SortExpression="BIRTH_YYYYMMDD" UniqueName="BIRTH_YYYYMMDD"> <ItemStyle Width="75" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn AllowFiltering="False" DataField="UserEmail" Groupable="False" HeaderText="E-Mail" SortExpression="UserEmail" UniqueName="UserEmail"> <ItemStyle Width="175" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn AllowFiltering="False" DataField="secQuestion" Groupable="False" HeaderText="Security Question" ReadOnly="True" SortExpression="secQuestion" UniqueName="secQuestion"> <ItemStyle Width="125" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn AllowFiltering="False" DataField="secQuestionAnswer" Groupable="False" HeaderText="Security Question Answer" ReadOnly="True" SortExpression="secQuestionAnswer" UniqueName="secQuestionAnswer"> <ItemStyle Width="125" /> </telerik:GridBoundColumn> <telerik:GridButtonColumn ButtonType="LinkButton" UniqueName="ResetPasswordColumn" Text="Reset Password" CommandName="Reset"> <ItemStyle Width="50px" /> </telerik:GridButtonColumn> <telerik:GridTemplateColumn UniqueName="Login"> <ItemTemplate> <a href='Login.aspx?uid=<%# Container.DataItem("UserID") %>' title="Log in as user" target="_blank">Login</a> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> <EditFormSettings CaptionDataField="UserId" EditFormType="Template" CaptionFormatString="Edit e-mail address for user: {0}."> <EditColumn UniqueName="EditCommandColumn1"> </EditColumn> <FormTemplate> <div style="padding-top:10px"></div> <table width="100%" align="center" cellspacing="5"> <tr valign="top"> <td style="width:20%; font-weight:bold" align="right" nowrap> *Email Address: </td> <td style="width:80%;" align="left"> <telerik:RadTextBox ID="RadTextBoxEmail" runat="server" MaxLength="50" SelectionOnFocus="SelectAll"></telerik:RadTextBox> <asp:RequiredFieldValidator ID="ValidatorEmail" runat="server" ErrorMessage="Please enter the e-mail address" Display="None" ControlToValidate="RadTextBoxEmail" Text="*" SetFocusOnError="true" /> <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutEmail" TargetControlID="ValidatorEmail" HighlightCssClass="validatorCalloutHighlight" /> </td> </tr> </table> <table style="width: 100%"> <tr> <td align="center" colspan="2"> <asp:Button ID="Button1" Text="Update" runat="server" CommandName="Update"> </asp:Button> <asp:Button ID="Button2" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel"> </asp:Button> </td> </tr> </table> <div style="padding-bottom:30px"></div> </FormTemplate> </EditFormSettings> </MasterTableView> <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True"> </ClientSettings> <FilterMenu> <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> </FilterMenu> </telerik:RadGrid> Private Sub RadGridEmployees_UpdateCommand(ByVal sender As Object, ByVal e As GridCommandEventArgs) Handles RadGridEmployees.UpdateCommand Dim lDataItem As GridEditFormItem = CType(e.Item, GridEditFormItem) Dim lRadTextBoxEmail As RadTextBox = lDataItem.FindControl("RadTextBoxEmail") Dim lUserId As String = lDataItem.GetDataKeyValue("UserID") UserServiceHelper.UpdateUserEmail(lUserId, lRadTextBoxEmail.Text.Trim.ToLower) RadGridEmployees.EditIndexes.Clear() End Sub