title: Telerik grid EditForm Popup Events Issue
body: <p>I implemented telerik grid with add / update options using popup editform templete. Every thing was working fine    without ajax and when i enabled ajax popup form events are not firing properly. I have defined CommandName and on server end i implemented ItemCommand event. If i apply breakpoint on all events of form then after clicking on popup button only Load method of form is called and nothing else happens. Please help following is my Client end code</p>
  
  <pre><code>&lt;telerik:RadGrid ID="gridMain" runat="server"  EnableEmbeddedSkins="False" Skin="MpoGrayGrid"  AutoGenerateColumns="False" CellSpacing="0" GridLines="None" OnItemDataBound="gridMain_ItemDataBound" OnNeedDataSource="gridMain_NeedDataSource" OnItemCommand="gridMain_ItemCommand"&gt;
                              &lt;MasterTableView EditMode="PopUp" CommandItemDisplay="Top" DataKeyNames="EEHireTermID"&gt;
                              &lt;CommandItemSettings ExportToPdfText="Export to PDF"&gt;&lt;/CommandItemSettings&gt;
                              &lt;RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"&gt;&lt;/RowIndicatorColumn&gt;
                              &lt;ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column" Created="True"&gt;&lt;/ExpandCollapseColumn&gt;
                                  &lt;Columns&gt;
                                      &lt;telerik:GridTemplateColumn HeaderText="Employee"&gt;
                                          &lt;ItemTemplate&gt;
                                              &lt;asp:Label runat="server" ID="lblName"&gt;&lt;/asp:Label&gt;
                                          &lt;/ItemTemplate&gt;
                                      &lt;/telerik:GridTemplateColumn&gt;
                                      &lt;telerik:GridTemplateColumn HeaderText="Type"&gt;
                                          &lt;ItemTemplate&gt;
                                              &lt;asp:Label runat="server" ID="lblType"&gt;&lt;/asp:Label&gt;
                                          &lt;/ItemTemplate&gt;
                                      &lt;/telerik:GridTemplateColumn&gt;
                                      &lt;telerik:GridTemplateColumn HeaderText="ActionDate"&gt;
                                          &lt;ItemTemplate&gt;
                                              &lt;asp:Label runat="server" ID="lblActionDate"&gt;&lt;/asp:Label&gt;
                                          &lt;/ItemTemplate&gt;
                                      &lt;/telerik:GridTemplateColumn&gt;
                                      &lt;telerik:GridTemplateColumn HeaderText="Entered Date"&gt;
                                          &lt;ItemTemplate&gt;
                                              &lt;asp:Label runat="server" ID="lblEnteredDate"&gt;&lt;/asp:Label&gt;
                                          &lt;/ItemTemplate&gt;
                                      &lt;/telerik:GridTemplateColumn&gt;
                                      &lt;telerik:GridTemplateColumn HeaderText="Entered By"&gt;
                                          &lt;ItemTemplate&gt;
                                              &lt;asp:Label runat="server" ID="lblEnteredBy"&gt;&lt;/asp:Label&gt;
                                          &lt;/ItemTemplate&gt;
                                      &lt;/telerik:GridTemplateColumn&gt;
                                      &lt;telerik:GridTemplateColumn HeaderText="Reason  For Termination"&gt;
                                          &lt;ItemTemplate&gt;
                                              &lt;asp:Label runat="server" ID="lblTermReason"&gt;&lt;/asp:Label&gt;
                                          &lt;/ItemTemplate&gt;
                                      &lt;/telerik:GridTemplateColumn&gt;
                                      &lt;telerik:GridTemplateColumn HeaderText="Memo"&gt;
                                          &lt;ItemTemplate&gt;
                                              &lt;asp:Label runat="server" ID="lblMemo"&gt;&lt;/asp:Label&gt;
                                          &lt;/ItemTemplate&gt;
                                      &lt;/telerik:GridTemplateColumn&gt;
                                      &lt;telerik:GridTemplateColumn HeaderText="Action"&gt;
                                          &lt;ItemTemplate&gt;
                                              &lt;asp:LinkButton runat="server" ID="btnEdit" CausesValidation="False" Text="Edit" CssClass="Link2" CommandArgument='&lt;%# DataBinder.Eval(Container, "RowIndex") %&gt;' CommandName="Edit"&gt;&lt;/asp:LinkButton&gt;&amp;nbsp;|&amp;nbsp;
                                          &lt;asp:LinkButton runat="server" ID="btnDelete" CausesValidation="False" Text="Delete" CssClass="Link2" CommandArgument='&lt;%# DataBinder.Eval(Container, "RowIndex") %&gt;' CommandName="Delete"&gt;&lt;/asp:LinkButton&gt;
                                          &lt;/ItemTemplate&gt;
                                      &lt;/telerik:GridTemplateColumn&gt;
                                  &lt;/Columns&gt;
                                  &lt;EditFormSettings InsertCaption="Add Hire/Termination Dates" CaptionFormatString="Add Hire/Termination Dates" 
                                      CaptionDataField="Id" EditFormType="Template" PopUpSettings-Modal="true" PopUpSettings-Width="663"&gt;
  &lt;EditColumn InsertImageUrl="Update.gif" UpdateImageUrl="Update.gif" CancelImageUrl="Cancel.gif" FilterControlAltText="Filter EditCommandColumn column"&gt;&lt;/EditColumn&gt;
                                      &lt;FormTemplate&gt;
                                          &lt;table id="tblEdit" runat="server" width="663" style="margin: 24px; border-radius: 20px;" cellpadding="6" &gt;
  
                                              &lt;tr&gt;
                                                  &lt;td colspan="1" class="BodyText" width="31%" &gt;Employee: &lt;/td&gt;
                                                  &lt;td colspan="1" width="69%"&gt;
                                                      &lt;asp:TextBox runat="server" CssClass="TextField1" ID="txtName" ReadOnly="True"&gt;&lt;/asp:TextBox&gt;&lt;/td&gt;
                                              &lt;/tr&gt;
                                              &lt;tr&gt;
                                                  &lt;td colspan="1" class="BodyText" width="31%"&gt;Type:&lt;/td&gt;
                                                  &lt;td colspan="1"  width="69%"&gt;
                                                      &lt;asp:DropDownList runat="server" ID="ddlType" CssClass="DropDown1" onchange="changeType(this)"&gt;
                                                          &lt;asp:ListItem Value=""&gt;&lt;/asp:ListItem&gt;
                                                          &lt;asp:ListItem Value="H"&gt;Hire&lt;/asp:ListItem&gt;
                                                          &lt;asp:ListItem Value="T"&gt;Termination&lt;/asp:ListItem&gt;
                                                          &lt;asp:ListItem Value="E"&gt;PEO&lt;/asp:ListItem&gt;
                                                          &lt;asp:ListItem Value="N"&gt;PEO Termination&lt;/asp:ListItem&gt;
                                                      &lt;/asp:DropDownList&gt;
                                                      &amp;nbsp;&lt;asp:RequiredFieldValidator ID="rfvReq1" runat="server" CssClass="Heading1" ControlToValidate="ddlType" ErrorMessage="* Required"&gt;&lt;/asp:RequiredFieldValidator&gt;&lt;/td&gt;
                                              &lt;/tr&gt;
                                              &lt;tr&gt;
                                                  &lt;td colspan="1" class="BodyText" width="31%"&gt;Action/EffectiveDate:&lt;/td&gt;
                                                  &lt;td colspan="1"  width="69%"&gt;
                                                      &lt;telerik:RadDatePicker runat="server" ID="rdpActionDate"&gt;&lt;/telerik:RadDatePicker&gt;
                                                      &amp;nbsp;&lt;asp:RequiredFieldValidator ID="rfvReq2" runat="server" CssClass="Heading1" ControlToValidate="rdpActionDate" ErrorMessage="* Required"&gt;&lt;/asp:RequiredFieldValidator&gt;
                                                  &lt;/td&gt;
                                              &lt;/tr&gt;
                                              &lt;tr&gt;
                                                  &lt;td colspan="1" class="BodyText" width="31%"&gt;Reason For Termination:&lt;/td&gt;
                                                  &lt;td colspan="1"  width="69%"&gt;
                                                      &lt;asp:DropDownList runat="server" ID="ddlTermReason" CssClass="DropDown1"&gt;
                                                      &lt;/asp:DropDownList&gt;&amp;nbsp;&lt;asp:RequiredFieldValidator ID="rfvReq3" CssClass="Heading1" runat="server" ControlToValidate="ddlTermReason" ErrorMessage="* Required"&gt;&lt;/asp:RequiredFieldValidator&gt;
                                                  &lt;/td&gt;
                                              &lt;/tr&gt;
                                              &lt;tr&gt;
                                                  &lt;td class="BodyText" width="31%"&gt;Memo:&lt;/td&gt;
                                                  &lt;td  width="69%"&gt;
                                                      &lt;asp:TextBox runat="server" ID="txtMemo" TextMode="MultiLine" Height="86px" Width="346px"&gt;&lt;/asp:TextBox&gt;
                                                  &lt;/td&gt;
                                              &lt;/tr&gt;
                                              &lt;tr&gt;
                                                  &lt;td colspan="2" align="center"&gt;
                                                      &lt;asp:Button runat="server" ID="txtSave" CommandName="Update" CssClass="Buttons" Text="Save" /&gt;&amp;nbsp;
                                      &lt;asp:LinkButton runat="server" ID="btnCancel" CssClass="Link_Cancel" Text="Cancel" CommandName="Cancel" CausesValidation="False"&gt;&lt;/asp:LinkButton&gt;
                                                  &lt;/td&gt;
                                              &lt;/tr&gt;
                                          &lt;/table&gt;
                                      &lt;/FormTemplate&gt;
  
                              &lt;PopUpSettings Modal="True" Width="663px" &gt;
  
                              &lt;/PopUpSettings&gt;
                                  &lt;/EditFormSettings&gt;
  
                              &lt;PagerStyle PageSizeControlType="RadComboBox"&gt;&lt;/PagerStyle&gt;
                                  &lt;CommandItemTemplate&gt;
                                      &lt;table width="100%"  cellpadding="10"&gt;
                                          &lt;tr&gt;
                                              &lt;td align="left"&gt;
                                                  &lt;asp:Button runat="server" ID="btnAdd" CommandName="InitInsert"  Text="Add New Record" CssClass="Buttons" /&gt;&lt;/td&gt;
                                              &lt;td align="right"&gt;
                                                  &lt;asp:LinkButton runat="server" CommandName="Export" ID="lbtnExport" Text="Export"&gt;&lt;img src="../images/excel.jpg"/&gt; Export&lt;/asp:LinkButton&gt;&lt;/td&gt;
                                          &lt;/tr&gt;
                                      &lt;/table&gt;
                                  &lt;/CommandItemTemplate&gt;
                              &lt;/MasterTableView&gt;
                               &lt;ClientSettings&gt;
                                  &lt;ClientEvents OnPopUpShowing="PopUpShowing" /&gt;
                                &lt;/ClientSettings&gt;
  
                                      &lt;PagerStyle PageSizeControlType="RadComboBox"&gt;&lt;/PagerStyle&gt;
                                      &lt;FilterMenu EnableImageSprites="False" EnableEmbeddedSkins="False"&gt;&lt;/FilterMenu&gt;
                                      &lt;HeaderContextMenu EnableEmbeddedSkins="False"&gt;&lt;/HeaderContextMenu&gt;
                          &lt;/telerik:RadGrid&gt;
  </code></pre>