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

Feature request - automatic detection of display

1 Answer 9 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ManniAT
Top achievements
Rank 2
ManniAT asked on 22 Aug 2009, 02:40 PM
Hi,

these days I stumbled over the "automatic edit selection" as described here.
http://www.telerik.com/help/wpf/gridview-data-editors.html
Although this looks "nothing special" the mechanism behind it allows us to implement our own editor and register is with the system.
I made a code library post about it since this is a real powerful mechanism.
By the way - congratulations for this - I love it!!

And since I have to proof my role as annoying customer I ask if it wouldn't be possible to implement this also for the "display part" of the RadGridView.
So additional to RegisterDefaultEditor(typeof(myDataType), typeof(myDataTypeEditorSettings)) I would like to see something like
RegisterDefaultCellTemplate(typeof(myDataType), typeof(myTemplate)).

Since in this case there is no need for the complex logic of an editor (with editor settings) a simple "Dictionary of DataTemplates" could do the job. At least in the first step.

Regards

Manfred

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 24 Aug 2009, 03:25 PM
Hi Manfred,

We are thinking of adding support for the UIHint data annotation attribute introduced in Silverlight 3 and WPF 3.5 SP1 in the future. Fortunately WPF provide mechanism for loading DataTemplates automatically based
 on its DataType property, we should just think out a way to enable this in our current editing behavior.

Looking at your suggestion it also make sense to provide this kind of functionality as well. I have updated your telerik points for sharing this good idea.

Greetings,
Stefan Dobrev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
ManniAT
Top achievements
Rank 2
Answers by
Stefan Dobrev
Telerik team
Share this question
or