Customizing user controls dynamically?

  • Thread starter sean.gilbertson
  • Start date
S

sean.gilbertson

Hi!

I have a user control, and I want to set one of its
control's .Style("width") and .Style("left") dynamically, but I'm not
sure how to go about it. I have a handler for Me.PreRender, where I
do control.Style("width") = "100px" etc... But when the page is
rendered, there is no style="width:100px;". In fact, there is no
style attribute at all.

How do I go about doing this?

Thanks,
Sean :)
 

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,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top