onedizzydevil
Programmer
Hi Folks!
Need some help.
Building a Customer WEB Server Control using VB.NET and I am trying to set the Editor Attribute to the following property:
The above code is suppose to work by adding
. But it is not working. I have searched the InterNut for several hours but all the examples/documention keep pointing me back to this. However the error I keep getting is "Design is not a member of UI" I have ran out of ideas. This is what I get from the Object Browser
Public Class ImageUrlEditor
Inherits System.Web.UI.Design.UrlEditor
Member of System.Web.UI.Design
Wayne Sellars
"Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe, trying to produce bigger and better idiots. So far, Universe 1 - Programmers 0."
Need some help.
Building a Customer WEB Server Control using VB.NET and I am trying to set the Editor Attribute to the following property:
Code:
<Bindable(True), Category("Appearance"), DefaultValue(""), Editor(CType(System.Web.UI.Design.ImageUrlEditor, System.Drawing.Design.UITypeEditor))> _
Property [BackButtonImage]() As String
Get
Return _BackButtonImage
End Get
Set(ByVal Value As String)
_BackButtonImage = Value
End Set
End Property
The above code is suppose to work by adding
Code:
Imports System.ComponentModel
Public Class ImageUrlEditor
Inherits System.Web.UI.Design.UrlEditor
Member of System.Web.UI.Design
Wayne Sellars
"Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe, trying to produce bigger and better idiots. So far, Universe 1 - Programmers 0."