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

Use combobox while inserting data

1 Answer 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Alp
Top achievements
Rank 1
Alp asked on 26 Oct 2010, 05:26 PM
I need to convert some cells into GridViewComboBoxColumn only while inserting.  I tried during BeginningEdit event but was unsuccessful.  They need to be readonly during edit.

During AutoGeneratingColumns event they can be converted fine but that causes the column to be a combobox during edit also.  Existing records might have values which are not valid for the combobox.  So, some records do not display existing values.  Also data is generated dynamically so I can't use templates.  Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 27 Oct 2010, 10:34 AM
Hi Alp,

You may take a look at this forum thread for a reference. It is based on the Silverlight platform, but still you may use the same approach. I am sending you the sample project modified for WPF.
  

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
Alp
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or