Last post Oct 28, 2011 05:03 AM by Decker Dong - MSFT
Oct 26, 2011 12:29 PM|maryam_morovati|LINK
how can I have a property like columns collection in my server control.
in server control I have a grid view with some properties.I want a property like columns in gridview.
I wrote a class that inherits from UITypeEditor but I don't know what should I write for EditValue method.
please help me.It's really emergency.
Oct 28, 2011 05:03 AM|decker dong - msft|LINK
As far as I see, EditValue is used to change the values of the properties of the control associated with the editor and GetEditStyle is used to indicate the kind of editor that will be displayed. So you should first make the Editor UI in the form of Windows
Form, and then use it in your own proj of ASP.NET.
For more about this, you can refer to this nice similar sample and download it