cant set skin id to user control embedded in formview

cant set skin id to user control embedded in formview

Post by reial » Thu, 17 Aug 2006 02:27:42


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!
 
 
 

cant set skin id to user control embedded in formview

Post by reial » Fri, 18 Aug 2006 02:17:30

Anyone?

 
 
 

cant set skin id to user control embedded in formview

Post by reial » Sun, 20 Aug 2006 02:45:37

I'm guessing this isn't supported. Obviously there is an issue w/the
event handling. However, I should be able to isolate the user control
and feed it a dynamic skinid prior to rendering.

Anyone?