Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > GridView > Problem with adding two controls in the single Cell

Not answered Problem with adding two controls in the single Cell

Feed from this thread
  • Posted on Apr 2, 2009 (permalink)

    Hello,

    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. 

    Thanks
    Ajay Yadav

    Reply

  • Nikolay Nikolay admin's avatar

    Posted on Apr 3, 2009 (permalink)

    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,
    Nikolay
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.
  • Adonis avatar

    Posted on Feb 7, 2010 (permalink)

    Hello

    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 !

    Reply

  • Nikolay Nikolay admin's avatar

    Posted on Feb 9, 2010 (permalink)

    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,
    Nikolay
    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > GridView > Problem with adding two controls in the single Cell
Related resources for "Problem with adding two controls in the single Cell"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]