This is a migrated thread and some comments may be shown as answers.

Problem with adding two controls in the single Cell

3 Answers 89 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ajay
Top achievements
Rank 1
Ajay asked on 02 Apr 2009, 04:02 PM

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

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 03 Apr 2009, 04:27 PM
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.
0
Adonis
Top achievements
Rank 1
answered on 08 Feb 2010, 02:24 AM
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 !
0
Nikolay
Telerik team
answered on 09 Feb 2010, 12:20 PM
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.
Tags
GridView
Asked by
Ajay
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Adonis
Top achievements
Rank 1
Share this question
or