I thought it was possible to pass parameters to a user control, but I can't find any examples. Am I wrong about this? By parameters, I mean:
Or something like that. I can't use properties because the name of the parameter will be dynamic. Is there a tutorial somewhere that can help me with this?
Thanks,
Adam
Code:
<uc1:MyControl id="MyControlId" runat="server">
[b]<parameter name="MyFirstParameter" value="val1">
<parameter name="MySecondParameter" value="val2">[/b]
</uc1:gridfilter>
Thanks,
Adam