cant set skin id to user control embedded in formview

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!
 
R

reiale

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top