Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Using UITypeEditor type in webcontrols design

Reply
Thread Tools

Using UITypeEditor type in webcontrols design

 
 
Diego Javier Martínez
Guest
Posts: n/a
 
      09-06-2006
Dearly:
I have a VB.NET class into class library project, it has a property
browsable in webcontrol and I need to specify the webcontrol type through
editorattribute. My problem is what the editorattribute attribute requires to
specify the basetypename parameter (System.drawing.design.UITypeEditor),
which derives from system.drawing namespace, not available in class library
projects.

The property's code is:


<AttributeProvider(GetType(IListSource)), _
Browsable(True), Category("Datos"), _
Description("Esta es la descripcion del atributo"), _
DisplayName("Adjuntos"), [ReadOnly](True),
RefreshProperties(RefreshProperties.All), _
TypeConverter(), Editor(GetType(Web.UI.WebControls.DropDownList),
GetType(System.drawing.design.UITypeEditor))> _
Public Property adjuntoObjeto() As clase_de_objeto
Get
Return _adjunto
End Get
Set(ByVal value As clase_de_objeto)
_adjunto = value
End Set
End Property


Error is in "System.drawing.design.UITypeEditor"
Somebody know some solution for this problem?

Thanks for your help
bye Diego
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom UITypeEditor Ahmed Hashish ASP .Net Building Controls 0 07-21-2005 11:18 AM
server control serialization problem with UiTypeEditor crazyhorse ASP .Net Building Controls 0 05-23-2005 11:11 AM
How do I have a UITypeEditor tell the Designer that the component has changed? Ken Dopierala Jr. ASP .Net 0 05-13-2005 07:19 PM
How do I have a UITypeEditor tell the Designer that the component has changed? Ken Dopierala Jr. ASP .Net Building Controls 2 05-13-2005 03:30 PM
Override UITypeEditor on class WALDO ASP .Net Building Controls 1 10-20-2004 10:07 PM



Advertisments