Sunday, April 3, 2011

Can you have <param> type tags within a asp.NET WebUserControl?

I want to create a WebUserControl (not a custom control) in asp.NET (C#). I want to have <param> tags that can be put between the control's start/end tags when being used in an aspx page.

Eg:

<abc:myWebUserControl id="myWUC" runat="server">
    <param name="pName1" value="pValue1">
    <param name="pName2" value="pValue2">
    <param name="pName3" value="pValue3">
</abc:myWebUserControl>

Can this be done? and how do you do it, how do you read the param data?

Thanks a bunch for any help.

From stackoverflow

0 comments:

Post a Comment