Header Context Menu - Show/Hide Column checkboxes initially shown as unhecked (hidden)

5 posts, 0 answers
  1. raptor22
    raptor22 avatar
    8 posts
    Member since:
    Sep 2007

    Posted 04 Mar 2009 Link to this post

    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> 
     
  2. Rosen
    Admin
    Rosen avatar
    3251 posts

    Posted 09 Mar 2009 Link to this post

    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.
  3. Jerome
    Jerome avatar
    5 posts
    Member since:
    Aug 2010

    Posted 25 Mar 2011 Link to this post

    Has this issue been resolved?  We are using v.2010.3.1317.35 and seeing the same behavior.
  4. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2289 posts

    Posted 30 Mar 2011 Link to this post

    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
  5. G
    G avatar
    10 posts
    Member since:
    Jul 2013

    Posted 05 Dec 2017 Link to this post

    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?
Back to Top