W
Webmills
Hi all
I have a repeater control containing a web user control within its'
item template field.
Is it possible to pass through a data field into the web user control,
such that this is used when rendering the web user control.
I have exposed a parameter of the web user control and attempted to
pass in the parameter as below:
<MyUserControl:Booking_Details runat="server" EventId='<%#
(int)(Eval("fId")) %>' />
However, the control is rendered before the set accessor is called.
Is this possible to do, or am I missing something really obvious.
Thanks
James
I have a repeater control containing a web user control within its'
item template field.
Is it possible to pass through a data field into the web user control,
such that this is used when rendering the web user control.
I have exposed a parameter of the web user control and attempted to
pass in the parameter as below:
<MyUserControl:Booking_Details runat="server" EventId='<%#
(int)(Eval("fId")) %>' />
However, the control is rendered before the set accessor is called.
Is this possible to do, or am I missing something really obvious.
Thanks
James