This is a migrated thread and some comments may be shown as answers.
Header Context Menu - Show/Hide Column checkboxes initially shown as unhecked (hidden)
4 Answers 142 Views
This is a migrated thread and some comments may be shown as answers.
raptor22
Top achievements
Rank 1
raptor22 asked on 04 Mar 2009, 06:27 PM
Using Using RadControls 2008.3.1314, Internet Explorer 6, ASP.NET 2.0.50727.

I am experiencing an oddity with the Grid Header Context Menu in both my application and on the live demo page. The Grid loads and all columns are visible, but when I right click to access the header context menu, all the columns in the "Columns" context sub-menu have an unchecked state, as if there were not visible. However, as soon as I access the header context menu a second time, the checked states correctly match the actual visibility of the Grid's columns. Then, if I force the Grid to rerender (sort, group, ungroup, etc.), the context menu shows all unchecked again even though the columns are actually visible.

Setting Display="true" for any given GridBoundColumn has no effect on this behavior. Does anyone else experience this behavior on the demo page?

Here's how I'm defining my RadGrid:
<telerik:RadGrid ID="RadGrid2" runat="server" DataSourceID="sdsFreTats" GridLines="None" 
    ShowGroupPanel="True" Skin="Office2007" AllowSorting="True" AutoGenerateColumns="False" 
    AllowPaging="True" PageSize="40" ShowFooter="True">  
    <ClientSettings AllowDragToGroup="True" AllowColumnsReorder="True" ReorderColumnsOnClient="True" 
        AllowColumnHide="true">  
        <Resizing AllowColumnResize="true" /> 
        <Selecting AllowRowSelect="True" /> 
        <Scrolling AllowScroll="True" UseStaticHeaders="True" /> 
    </ClientSettings> 
    <MasterTableView DataSourceID="sdsFreTats" GroupLoadMode="Client" TableLayout="Fixed" EnableHeaderContextMenu="true">  
        <Columns> 
         ...  
        </Columns> 
        <PagerStyle Mode="NextPrevAndNumeric" /> 
    </MasterTableView> 
    <HeaderContextMenu Skin="Office2007">  
        <CollapseAnimation Duration="200" Type="OutQuint" /> 
    </HeaderContextMenu> 
    <FilterMenu Skin="Office2007">  
        <CollapseAnimation Duration="200" Type="OutQuint" /> 
    </FilterMenu> 
    <PagerStyle Mode="NextPrevAndNumeric" /> 
</telerik:RadGrid> 
 

4 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 09 Mar 2009, 01:40 PM
Hi,

Indeed I was able to observed the behavior you have described. However I'm happy to inform you that our developers has managed to address it. Thus the fix will be available in Q1 2009 version of RadControls for ASP.NET  AJAX suite. Meanwhile I have updated your telerik point.

Please excuse us for the inconvenience.

All the best,
Rosen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jerome
Top achievements
Rank 1
answered on 25 Mar 2011, 09:34 PM
Has this issue been resolved?  We are using v.2010.3.1317.35 and seeing the same behavior.
0
Nikolay Rusev
Telerik team
answered on 30 Mar 2011, 08:23 AM
Hello Jerome,

Seems to be properly working on the online demo with latest Q1 2011 release of RadControls for ASP.NET AJAX.

Greetings,
Nikolay Rusev
the Telerik team
0
G
Top achievements
Rank 1
answered on 05 Dec 2017, 08:27 AM
In the radgrid header context menu, while deselecting all the columns from the menu but we can not deselect the last column as it is read only. Is it possible to deselect the last column also?
Tags
Grid
Asked by
raptor22
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Jerome
Top achievements
Rank 1
Nikolay Rusev
Telerik team
G
Top achievements
Rank 1
Share this question
or