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

GridClientSelectColumndoesn't show

3 Answers 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 10 Sep 2018, 03:02 PM

Hello,

 

I'm pretty new with the Telerik.

 

We have just updated to a new version of Telerik at my office and with the new version a GridClientSelectColumn is not visible in IE11. And if you refresh the page with F5 then you see the GridClientSelectColumn. So why does it not show from the beginning?

It's still work as before in chrome (showing up when you go to the page, like it also did in IE11 before we Implemented the new Telerik version.

 

 

ASP.NET code:

 

<telerik:RadGrid runat="server" ID="radGrid1" AutoGenerateColumns="False" AllowMultiRowSelection="True"
                EnableEmbeddedSkins="False" OnNeedDataSource="ONDS1" OnItemDataBound="OIDB_OnItemDataBound"
                Width="1195px" AllowSorting="True" AllowPaging="True" PageSize="500"
                AllowFilteringByColumn="False" ClientDataKeyNames="test1" Visible="True">
                <MasterTableView ClientDataKeyNames="Hello1, Hello2" DataKeyNames="DataField1, RequestReference, Message" >
                    <Columns>
                        <telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_PartNumberText1 %>" DataField="DataField1" ShowFilterIcon="False"
                            AutoPostBackOnFilter="True" />
                        <telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_ManufacturerText1 %>" DataField="DataField2" ShowFilterIcon="False"
                            AutoPostBackOnFilter="True" />
                        <telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_DescriptionText1 %>" DataField="DataField3" ShowFilterIcon="False"
                            AutoPostBackOnFilter="True" />
                        <telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_SentText1 %>" DataField="DataField4" DataFormatString="{0:yyyy/MM/dd HH:mm}" ItemStyle-Wrap="False"/>
                        <telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_SentByText1 %>" DataField="DataField5" ShowFilterIcon="False"
                            AutoPostBackOnFilter="True" ItemStyle-Wrap="False"/>
                        <telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_StatusText1 %>" DataField="DataField6"
                            ShowFilterIcon="False" AutoPostBackOnFilter="True" ItemStyle-Wrap="False"/>
                        <telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_MessageText1 %>" DataField="DataField7" ShowFilterIcon="False"
                            HtmlEncode="True" AutoPostBackOnFilter="True"/>
                        <telerik:GridBoundColumn UniqueName="Uni1" DataField="DataField8" Display="False" />
                        <telerik:GridBoundColumn UniqueName="Uni2" DataField="DataField9" Display="False" />
                        <telerik:GridBoundColumn UniqueName="Uni3" DataField="DataField10" Display="False" />
                        <telerik:GridBoundColumn UniqueName="Uni4" DataField="DataField11" Display="False" />
                        <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" Display="False" runat="server"  />
                    </Columns>

 

 

Code behind:

 

var selectCol = radGrid1.Columns.FindByUniqueName("ClientSelectColumn");
        if (selectCol != null) {
            selectCol.Visible = true;
            selectCol.Display = true;
        }

3 Answers, 1 is accepted

Sort by
0
Tim
Top achievements
Rank 1
answered on 10 Sep 2018, 03:11 PM
Correction: When i update the site with F5 and standing in F12-mode the GridClientSelectColumn shows.  NOT when i press F5 when i'm just on the site.
0
Tsvetomir
Telerik team
answered on 13 Sep 2018, 12:54 PM
Hi Tim,

I have created a sample project which uses the same settings as in the RadGrid you have provided. I have tested it in Internet Explorer 11 and works as expected on my side. Also, I prepared a short video to demonstrate the behavior in the IE. 

In Internet Explorer, Telerik ASP.NET AJAX controls may not behave as expected. Most frequently, this is due to the fact that the Compatibility view mode or Enterprise mode of the Internet Explorer browser are enabled. You can find more information about the two and how to disable them in the Different appearance or behavior in Internet Explorer on local and production servers blog post. 

If the issue remains, modify the sample attached to my response to reproduce the problem and open an official support ticket and send it back to us for further investigation. 

Kind regards,
Tsvetomir
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Tim
Top achievements
Rank 1
answered on 13 Sep 2018, 01:24 PM

Hello and thank you for your help Tsvetomir!

I just found out what the problem was. We had some Script code over our ConfigurationHelper class and that made the the IE11 to run the code in 'IE7-mode'  and that's why it didn't work. So i just moved the script underneath the CofigurationHelper and then everything worked.

 

/ Tim

Tags
General Discussions
Asked by
Tim
Top achievements
Rank 1
Answers by
Tim
Top achievements
Rank 1
Tsvetomir
Telerik team
Share this question
or