R
reiale
Hi,
I understand we need to use page_preinit but the dynamic controls
inside of the form view don't yet exist at that event. I also tried
setting the skinID in the render event of the form view but it is too
late by then.
Lastly, I tried setting the SkinID to a function using the <%= %>
syntax but the function in the user control never gets executed.
How does anyone set the skinID to a user control dynamically if the
control is not part of the page (i.e. dynamically created via
code/container control)?
Thanks!
I understand we need to use page_preinit but the dynamic controls
inside of the form view don't yet exist at that event. I also tried
setting the skinID in the render event of the form view but it is too
late by then.
Lastly, I tried setting the SkinID to a function using the <%= %>
syntax but the function in the user control never gets executed.
How does anyone set the skinID to a user control dynamically if the
control is not part of the page (i.e. dynamically created via
code/container control)?
Thanks!