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

RadComboBoxColumn

6 Answers 122 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marc Roussel
Top achievements
Rank 2
Marc Roussel asked on 15 Oct 2010, 07:11 PM
Hi there,

Who knows how to change a column into a RadComboBoxColumn when the AutoGeneratedColumns = true
I tried in the DataLoded but I did not find any way to change the existing column into a RadComboBoxColumn

You see, my DataContext have a property for a list and since I don't want to generate all the columns myself as I already did in the past, I just want to convert this column into it's useful list and bind it apropriately.

Note that everything is made in C# code behind.  I never do anything by design

6 Answers, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 18 Oct 2010, 10:00 AM
Hi Marc Roussel,

You may handle the AutoGeneratingColumn events and define your GridViewComboBoxColumn there. 
I am sending you a sample project illustrating the proposed solution.

Best wishes,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Marc Roussel
Top achievements
Rank 2
answered on 18 Oct 2010, 10:42 AM
Thank you, it works like a charm 

Assigning e.Column = MY NEW COLUMN when the e.Column is the one I need to change
in the AutoGeneratingColumn
0
Marc Roussel
Top achievements
Rank 2
answered on 18 Oct 2010, 10:45 AM
By the way, it would be wise to let us MARK AS ANSWER our own messages as this could happen before any of you answer it
0
Atanas
Telerik team
answered on 19 Oct 2010, 01:24 PM
Hi Marc Roussel,

Thank you for your suggestion!

I just logged your proposal in our internal bug tracking system and I hope that it will be implemented in our next major Forum functionality change.

Once again thank you for reporting it and please don't hesitate to contact us for any further issues that you experience!

Best wishes,
Atanas
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Chetan
Top achievements
Rank 1
answered on 20 Oct 2010, 07:01 PM
Chetan

Posted on 1 hour ago CC: chetan.singh@socgen.com

Hello Telrik Team,

I am working with RadGridView. I am facing some problems.

1. while working on gridviewcomboboxcolumn. I am able to bind grid and column both with itemsource but problem is if i click on cell then only values will be get displayed otherwise it will be blank. Please refer attached screen shots img1 and img2. Is it possible to show grid datamemberbinding values as selected values in combo box by default in perticular column.

2. how to apply style in GridView header. my problem is i want to increase header height ,text wrap  and want to change header color, font size etc.

3. is it possible to add a blank row in grid by default?

4. is it possible to show all the controls as per columns in Radgridview footer. if it is possible then how to perform adding a new row functionality from footer?

5. how to open one HTML editor on click of a image button which is in Grid.

6. how to bind Listbox in Grid column?

7. how to align checkbox or others controls which are in grid column.

Please reply me ASAP.

Thanks
Chetan

0
Maya
Telerik team
answered on 21 Oct 2010, 09:25 AM
Hi Chetan,

I have already responded to the other forum thread you posted. In order to keep our communication consistent, I would recommend to keep it in a single thread.
 

Kind regards,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Marc Roussel
Top achievements
Rank 2
Answers by
Maya
Telerik team
Marc Roussel
Top achievements
Rank 2
Atanas
Telerik team
Chetan
Top achievements
Rank 1
Share this question
or