Hello Team,
Recently we have upgrade the telerik dll to 2015 version. after upgrade Rad grid edit is not working properly. the edit pop up is disabled not able to edit or close the popup. i have attached the screen shots and the aspx code. please help to solve the issue. Grid id is :- ID="dgScenarioLineGrid"
<telerik:RadGrid ID="dgScenarioLineGrid" runat="server" Skin="Office2010Silver" AllowPaging="false"
AllowSorting="false" GridLines="Vertical" OnItemCommand="dgScenarioLineGrid_ItemCommand"
OnItemDataBound="dgScenarioLineGrid_ItemDataBound">
<MasterTableView EditMode="PopUp" HorizontalAlign="NotSet" CommandItemDisplay="top"
CommandItemSettings-AddNewRecordText="Add New Scenario Line" AutoGenerateColumns="False"
CellPadding="1" DataKeyNames="SCL_ID">
<Columns>
<telerik:GridTemplateColumn HeaderStyle-Width="100px" UniqueName="CommandButtons"
HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:ImageButton runat="server" ID="ImgEdit" CommandName="Edit" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "SCL_ID")%>'
ImageUrl="~/images/edit.png" ToolTip="Edit Scenario Line" />
<asp:ImageButton runat="server" ID="ImgDelete" CommandName="Delete" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "SCL_ID")%>'
ImageUrl="~/images/delete.gif" ToolTip="Delete Scenario Line" />
<asp:ImageButton runat="server" ID="ImgSplit" CommandName="SPLIT" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "SCL_ID")%>'
ImageUrl="~/images/picto_cut16.gif" Width="15px" ToolTip="Split Scenario Line" />
</ItemTemplate>
<ItemStyle CssClass="MyImageButton" />
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Analytical Nature" HeaderStyle-Width="200px"
ItemStyle-Width="200px">
<ItemTemplate>
<asp:Label ID="lbl_AnalyticName" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.NAT_NAME") %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderStyle-Width="80px" HeaderText="From K€">
<ItemTemplate>
<asp:Label ID="lbl_AmountFrom" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.SCL_AMOUNTFROM", "{0:N1}") %>'>
</asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderStyle-Width="80px" HeaderText="To K€">
<ItemTemplate>
<asp:Label ID="lbl_AmountTO" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.SCL_AMOUNTTO", "{0:N1}") %>'>
</asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn UniqueName="gtcRHLUHD" ItemStyle-HorizontalAlign="Center"
HeaderStyle-Width="100px" HeaderText="Requester Hierarchic Line until head of dpt.">
<ItemTemplate>
<asp:Label ID="Label12" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.HIERARCHIC") %>'>
</asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Analytical Nature" Visible="False">
<EditItemTemplate>
<telerik:RadComboBox Font-Names="Arial Unicode MS" ID="cmbAnalNat" ZIndex="100001"
runat="server" ForeColor="#32327F" Width="235px" Height="200px" Skin="Outlook">
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="From K€" Visible="False" UniqueName="FromAmount">
<EditItemTemplate>
<asp:TextBox ID="txtFrom" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.SCL_AMOUNTFROM", "{0:N1}") %>'></asp:TextBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="To K€" Visible="False" UniqueName="ToAmount">
<EditItemTemplate>
<asp:TextBox ID="txtTo" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.SCL_AMOUNTTO", "{0:N1}") %>'></asp:TextBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Requester Hierarchic Line until head of dpt."
UniqueName="reqhier" Visible="False">
<EditItemTemplate>
<asp:CheckBox ID="chkreqhier" runat="server" Checked='<%# Convert.ToString(DataBinder.Eval(Container, "DataItem.HIERARCHIC"))=="X" %>' />
</EditItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
<EditFormSettings ColumnNumber="2" PopUpSettings-Modal="true" PopUpSettings-ScrollBars="Auto"
PopUpSettings-ZIndex="7001" PopUpSettings-Width="500px">
<FormTableItemStyle Wrap="False"></FormTableItemStyle>
<FormCaptionStyle CssClass="EditFormHeader"></FormCaptionStyle>
<FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" Width="95%" />
<FormTableStyle GridLines="Horizontal" CellSpacing="0" CellPadding="2" CssClass="module"
Height="110px" Width="95%" />
<FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>
<FormStyle BackColor="#eef2ea"></FormStyle>
<EditColumn ButtonType="ImageButton" UpdateImageUrl="~/images/Save.png" EditImageUrl="images/Edit.png"
InsertImageUrl="~/images/Save.png" CancelImageUrl="~/images/Cancel.gif" InsertText="Add Scenario Line"
UpdateText="Update Scenario Line" UniqueName="EditCommandColumn1" CancelText="Cancel edit">
</EditColumn>
<FormTableButtonRowStyle HorizontalAlign="Left" VerticalAlign="Top" CssClass="EditFormButtonRow">
</FormTableButtonRowStyle>
</EditFormSettings>
</MasterTableView>
<ClientSettings>
<ClientEvents OnPopUpShowing="PopUpShowing" />
</ClientSettings>
</telerik:RadGrid>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript" id="telerikClientEvents1">
var popUp;
function PopUpShowing(sender, eventArgs) {
popUp = eventArgs.get_popUp();
var gridWidth = sender.get_element().offsetWidth;
var gridHeight = sender.get_element().offsetHeight;
var popUpWidth = popUp.style.width.substr(0, popUp.style.width.indexOf("px"));
var popUpHeight = popUp.style.height.substr(0, popUp.style.height.indexOf("px"));
popUp.style.left = ((gridWidth - popUpWidth) / 2 + sender.get_element().offsetLeft).toString() + "px";
popUp.style.top = ((gridHeight - popUpHeight) / 2 + sender.get_element().offsetTop).toString() + "px";
}
</script>
</telerik:RadCodeBlock>