Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > properties not showing in properties window at design time

Reply
Thread Tools

properties not showing in properties window at design time

 
 
Peter
Guest
Posts: n/a
 
      12-10-2003
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
 
Reply With Quote
 
 
 
 
Lostinet.Web Support
Guest
Posts: n/a
 
      12-10-2003
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" <(E-Mail Removed)> ????
news:(E-Mail Removed) 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



 
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
Showing custom properties for page subclasses in Properties pane Harlan Messinger ASP .Net 0 02-18-2008 04:45 PM
Properties not showing in Property Window daokfella ASP .Net Web Controls 0 06-06-2007 07:27 PM
Nested propertiies not set at design time from properties window Gery D. Dorazio ASP .Net Building Controls 0 03-02-2007 09:00 AM
ASP 1.1: DataGrid - Showing/Not Showing Buttons Ray Booysen ASP .Net 2 03-28-2006 02:49 PM
Property not showing in the Properties window Anthony Faull ASP .Net Web Controls 1 11-13-2003 04:33 PM



Advertisments