S
sonic
Hi,
Is there a signature that would allow me to set values for such
properties as NameValueCollection or StringList within ASPX xml
definition ?
example:
myControl has a Values property of type NameValueCollection.
class myControl {
public NameValueCollection Values {...}
}
could i do something like this ?
--main.aspx--
<ctrl:myControl id="..." Values="Name1,Val1--Name2,Val2--" ..>
etc.
I attempt some guess signature that may work, but i get following
errror:
Cannot create an object of type
'System.Collections.Specialized.NameValueCollection' from its string
representation 'H,S' for the 'Values' property.
which leads me to believe that it may be possible to represet this
property as string.
Is there a signature that would allow me to set values for such
properties as NameValueCollection or StringList within ASPX xml
definition ?
example:
myControl has a Values property of type NameValueCollection.
class myControl {
public NameValueCollection Values {...}
}
could i do something like this ?
--main.aspx--
<ctrl:myControl id="..." Values="Name1,Val1--Name2,Val2--" ..>
etc.
I attempt some guess signature that may work, but i get following
errror:
Cannot create an object of type
'System.Collections.Specialized.NameValueCollection' from its string
representation 'H,S' for the 'Values' property.
which leads me to believe that it may be possible to represet this
property as string.