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
None
0 Points
1 Post
using DataGridColumnCollectionEditor in a server control
Oct 26, 2011 07:29 AM|maryam_morovati|LINK
hi,
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.
thanksssssssssssssss.
All-Star
94130 Points
18109 Posts
Re: using DataGridColumnCollectionEditor in a server control
Oct 28, 2011 12:03 AM|Decker Dong - MSFT|LINK
Hello:)
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
http://www.codeproject.com/KB/miscctrl/UITypeEditorsDemo.aspx