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
maryam_morov...
0 Points
1 Post
using DataGridColumnCollectionEditor in a server control
Oct 26, 2011 11:29 AM|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.
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: using DataGridColumnCollectionEditor in a server control
Oct 28, 2011 04:03 AM|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