P
Peter
I created a usercontrol using vb but the properties will not show in
the properties pane however the properties show up in the intellisence
list.
I read several posts about this but got no clear answer, any help will
be higly appreciated.
Here's the code:
Public Class myclass
Inherits System.Web.UI.UserControl
Public m_objbcolor As Object = Color.Fuchsia
#Region " Web Form Designer Generated Code "
'left this out
#End Region
<System.ComponentModel.Browsable(True),
System.ComponentModel.Category("Misc")> _
Public Property bordercolor() As Object
Get
Return m_objbcolor
End Get
Set(ByVal Value As Object)
m_objbcolor = Value
End Set
End Property
Private Sub Page_Load(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
End Sub
End Class
the properties pane however the properties show up in the intellisence
list.
I read several posts about this but got no clear answer, any help will
be higly appreciated.
Here's the code:
Public Class myclass
Inherits System.Web.UI.UserControl
Public m_objbcolor As Object = Color.Fuchsia
#Region " Web Form Designer Generated Code "
'left this out
#End Region
<System.ComponentModel.Browsable(True),
System.ComponentModel.Category("Misc")> _
Public Property bordercolor() As Object
Get
Return m_objbcolor
End Get
Set(ByVal Value As Object)
m_objbcolor = Value
End Set
End Property
Private Sub Page_Load(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
End Sub
End Class