Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Building Controls (http://www.velocityreviews.com/forums/f59-asp-net-building-controls.html)
-   -   properties not showing in properties window at design time (http://www.velocityreviews.com/forums/t756211-properties-not-showing-in-properties-window-at-design-time.html)

Peter 12-10-2003 08:42 AM

properties not showing in properties window at design time
 
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

Lostinet.Web Support 12-10-2003 09:04 AM

Re: properties not showing in properties window at design time
 
because vs.net not support it current

--
http://www.lostinet.com/
Lostinet.Web Controls&Components
ComboBox,ComboCalendar DatePicker,SafePwdBox,SmartIFrame,
AlertElement,ConfirmElement,PromptElement,DialogEl ement,ControlHelper
-----------------------

"Peter" <kunp@pox.nl> ????
news:813cb87.0312100042.3771659e@posting.google.co m...
> 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





All times are GMT. The time now is 11:42 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.