Feature request - automatic detection of display

2 posts, 0 answers
  1. ManniAT
    ManniAT avatar
    885 posts
    Member since:
    Nov 2003

    Posted 22 Aug 2009 Link to this post


    these days I stumbled over the "automatic edit selection" as described here.
    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.


  2. Stefan Dobrev
    Stefan Dobrev avatar
    790 posts

    Posted 24 Aug 2009 Link to this post

    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.

    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.
Back to Top