Hi,
Expose a property from your user control (that will receive the info) and
set the value for that property from the HTML markup (using attirubtes) like
how you have given below.
HTH
"Simon Harvey" <sh856531@microsofts_free_email_service.com> wrote in message
news:egyv20#...
Hi all,
I've made a user control and I need to pass it some information so it knows
what it should display. Can anyone tell me what i need to do to pass it
information via html attributes. eg:
<asp:mycontrol myproperty="true" runat="server"></asp:mycontrol>
I know I can pass it information in my codebehind, but i need to do that
before the controls page load is called.
Many thanks to anyone who can help
Simon
|