I have foud the problem it was due to the Items property being read/write
so the property definition should be
<DesignerSerializationVisibility(DesignerSerializationVisibility.Content), _
PersistenceMode(PersistenceMode.InnerProperty), _
Bindable(True), Category("Appearance")> ReadOnly Property Items() As
TableDef.ItemsCol
Get
Return mobjTable.Items
End Get
End Property
"Murray" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Sorry if this is not the correct group i could not see one for web
> controls
>
> Hello
>
> I am trying to write a cutom web control, The control contains a customer
> collection that i want to use the Collection Editor in properties to add
> members to this collection.
>
> In design mode the control works correctly but when i run the application
> the control in the designer swaps to a "Error creating Control" gray box,
> but it seems to display correctly in the web browser
>
> Im fairly new to this so not sure what people would like to see to help
> me -
> but shout and i send something
>
> Thanks in advance,
>
>
>
|