Column header dropdown

2 posts, 0 answers
  1. Lovsten
    Lovsten avatar
    72 posts
    Member since:
    Aug 2007

    Posted 03 Sep 2007 Link to this post

    How can I prevent showing the dropdown meny when user right-clicks in the column headers (the one with conditional formatting, column chooser, hide, best fit)?
  2. Jack
    Jack avatar
    2335 posts

    Posted 03 Sep 2007 Link to this post

    Hello Lovsten,

    To disable the header columns context menu just set the AllowColumnHeaderContextMenu property of MasterGridViewTemplate to false. Use this code:

    this.radGridView1.MasterGridViewTemplate.AllowColumnHeaderContextMenu = false;

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft R3 2016 release webinar banner
Back to Top