'property cannot be set declaratively.'??
- From: "cannontrodder" <neil.trodden@xxxxxxxxx>
- Date: 6 Sep 2006 03:03:57 -0700
Hi,
I've created a custom control yet when I add the attribute
ListStyle="astyle" to my declaration,
I get the error: "The 'ListStyle' property cannot be set
declaratively."
It shows up in the properties window in the designer though.
Any ideas what I need to do to allow me to actually set this?
<Bindable(True), _
Category("Appearance"), _
Description("The class for the list."), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)>
_
Public Property ListStyle() As String
Get
Return _listStyle
End Get
Set(ByVal value As String)
_listStyle = value
End Set
End Property
.
- Prev by Date: Howto inherit from an exisiting webcontrol in VS 2005
- Next by Date: Re: SqlCacheDependency and ObjectDataSource
- Previous by thread: Howto inherit from an exisiting webcontrol in VS 2005
- Next by thread: Page hang after updating web.config
- Index(es):