Problem with adding two controls in the single Cell

4 posts, 0 answers
  1. Ajay
    Ajay avatar
    -1 posts
    Member since:
    Jul 2007

    Posted 02 Apr 2009 Link to this post


    I have a RadGridView, I need to add two controls is a single cell (i.e. Combobox and image button ).

    Looking forward for your cooperation ASAP. 

    Ajay Yadav

  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 03 Apr 2009 Link to this post

    Hi Sharma,

    Thank you for the question.

    You can find the answer to your question in your support ticket. I would like to post the answer here as well. Your scenario is possible with RadGridView and I am attaching a sample project to demonstrate this. In order to have a RadGridView with a complex editor (RadComboBoxEditor and RadButton), I am creating a custom cell where I am arranging the RadComboBoxEditor and the RadButton (RadHostItem). Then, on BeginCellEdit I am adding the RadButton with the help of a RadHostItem. When the editor is closed, the RadHostItem is removed.

    I hope this helps. If you need additional questions, feel free to contact me.

    Sincerely yours,
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. Adonis
    Adonis avatar
    3 posts
    Member since:
    May 2009

    Posted 07 Feb 2010 Link to this post


    How i can change the width of GridVScrollBar in the GridView,I changed it in properity,but when it run ,the width of the GridVScrollBar is not changes.

    Thank you !
  4. Nikolay
    Nikolay avatar
    1805 posts

    Posted 09 Feb 2010 Link to this post

    Hello Adonis,

    In order to change the size of the vertical scrollbar, you should set the MinSize, but not the Size property. Programmatically, you can do it using the following code snippet:
    this.radGridView1.GridElement.VScrollBar.MinSize = new Size(50, 0);

    I would kindly ask you to start a new forum thread in case you have a question which is not applicable to the existing forum threads. This will allow our users to browse the forums more easily.

    Sincerely yours,
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top