This is a migrated thread and some comments may be shown as answers.

When selecting "Add New Item", editor iframe doesn't display right-click context menu in IE

2 Answers 83 Views
Grid
This is a migrated thread and some comments may be shown as answers.
denpro
Top achievements
Rank 2
denpro asked on 13 Feb 2015, 01:03 AM
I'm having an issue with a RadGrid not displaying right-click context menus in IE. Specifically, when choosing the auto-generated "Add New Item" button, the editor area (which opens in an iframe within the grid) does not allow me to right-click to open a Cut/Copy/Paste/etc context menu. This issue only occurs for me under IE, right-clicking generates a context menu in both Chrome and Firefox. I'm also not using any custom context menus and there is nothing in the code behind that should be affecting this. I'm wondering if there is a known solution to this or if the problem is could be caused by certain settings on the RadGrid or MasterTable?

2 Answers, 1 is accepted

Sort by
0
denpro
Top achievements
Rank 2
answered on 13 Feb 2015, 01:09 AM
Here is the code for the particular RadGrid which has the editing issue :

        <telerik:RadPageView ID="ViewNotes" runat="server" >
               <telerik:RadGrid ID="RadGrid2" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
                  AllowAutomaticUpdates="True" AutoGenerateColumns="False" DataSourceID="Notes"
                  MasterTableView-CommandItemDisplay="Top" GroupPanelPosition="Top">
               <MasterTableView DataKeyNames="id" DataSourceID="Notes">
                   <Columns>
                    <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" ItemStyle-Width="34px">
                        <ItemStyle Width="34px" />
                       </telerik:GridEditCommandColumn>
                    <telerik:GridHTMLEditorColumn DataField="Note" Headertext="Note"
                      ItemStyle-Width="800px" UniqueName="Note" HeaderStyle-Width="800px">
                        <HeaderStyle Width="800px" />
                        <ItemStyle Width="800px" />
                     </telerik:GridHTMLEditorColumn>
                    <telerik:GridBoundColumn DataField="ModifiedBy" FilterControlAltText="Filter column2 column"
                      HeaderText="Modified By" ReadOnly="true" UniqueName="ModifiedBy"></telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Modified" FilterControlAltText="Filter column2 column"
                      HeaderText="Modified" ReadOnly="true" UniqueName="Modified"></telerik:GridBoundColumn>
                    <telerik:GridDateTimeColumn DataField="Created" FilterControlAltText="Filter column4 column"
                      HeaderText="Created" ReadOnly="true" UniqueName="column4"></telerik:GridDateTimeColumn>
                    <telerik:GridBoundColumn DataField="CreatedBy" FilterControlAltText="Filter column2 column"
                      HeaderText="Created By" ReadOnly="true" UniqueName="CreatedBy"></telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ReadOnly" HeaderText="ReadOnly"
                      ReadOnly="true" UniqueName="ReadOnly" Visible="false"></telerik:GridBoundColumn>
                   </Columns>
                   <EditFormSettings>
                       <EditColumn FilterControlAltText="Filter EditCommandColumn1 column" UniqueName="EditCommandColumn1">
                       </EditColumn>
                   </EditFormSettings>
                </MasterTableView>
                </telerik:RadGrid>
        </telerik:RadPageView>
0
Angel Petrov
Telerik team
answered on 17 Feb 2015, 08:35 AM
Hi,

Generally such behavior occurs when a JavaScript error is present on the page. Could you please ensure that this is not the case? Additionally if you are not using the latest version of the controls please upgrade and test the page again.

Regards,
Angel Petrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
denpro
Top achievements
Rank 2
Answers by
denpro
Top achievements
Rank 2
Angel Petrov
Telerik team
Share this question
or