W
wh
I have a user control implemented in an .ascx page that I embed in the html
as follows:
<test:mycontrol runat="server" property1="..." property2="..."/>
I'd also like to be able to assign a collection of strings to a property
called 'items' but am unsure of whether this is possible, and if so how it
can be done.
I'd presumably have a property in the codebehind .cs file for the .ascx
control that looks like:
public Array Items
{
get { return m_Items; }
set { m_Items = value; }
}
How would I then specify the property in the control declaration in the html
file?
Wayne.
as follows:
<test:mycontrol runat="server" property1="..." property2="..."/>
I'd also like to be able to assign a collection of strings to a property
called 'items' but am unsure of whether this is possible, and if so how it
can be done.
I'd presumably have a property in the codebehind .cs file for the .ascx
control that looks like:
public Array Items
{
get { return m_Items; }
set { m_Items = value; }
}
How would I then specify the property in the control declaration in the html
file?
Wayne.