I have a collection of System Settings I would like to bind to a property Grid? Is this possible with your property grid control?
All I see in examples are binding to a single item.
Thanks,
Scott
5 Answers, 1 is accepted
The standard approach to define what to view and edit in RadPropertyGrid is to define a PropertyDefinition for each field you need to edit.
In your case you will need to iterate your original collection and add a PropertyDefinition with the relevant binding for each position in this collection.
Let me know if you have troubles while implementing this approach.
Greetings,
Pavel Pavlov
the Telerik team
Will you please post an example for your above explanation about PropertyGrid Bind to a collection(arraylist--is my need )?
Thanks
Saranya..
The basic idea behind RadPropertyGrid is to provide an interface for visualizing and editing of an item's properties. There are some scenarios, in which a common set of properties should be extracted from a collection of items. Here is an article that illustrates a specific feature of RadPropertyGrid that handles such cases. RadPropertyGrid also supports editing of collection-type properties utilizing the CollectionEditorPicker control. Please refer to the mentioned articles and let us know whether your case is similar to any of the described scenarios. If not, it might be much more convenient for you to consider some of our ItemsControl-based controls.
Greetings,Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Thanks for the reply.CollectionEditorPicker control is fine for my requirement.But am not able to add that control to my silverlight page.am getting error like assembly is missing.this particular control i can find in RadControls for Silverlight Q2 2012 release right ? i don't find any working demo for this control inside property grid.i need some working demo and namespace details.
Thanks
Saranya
I have prepared a sample project for you that illustrates how to use CollectionEditorPicker both in RadPropertyGrid and stand-alone. Please, refer to the attachment.
Kind regards,
Ivan Ivanov
the Telerik team