dynamic page layout ?

J

Jon

I have a page that has a standard form and for one customer will have a set
of 4 extra buttons right in the middle of the form. So, if possible I'd
like to make one page that can hide/show those buttons according to a
web.config setting. But, when the buttons are hidden, I don't want there be
some giant blank space in the middle of the page. What's the best way to go
about that?
Thanks
 
B

Ben Lucas

You could place the 4 extra buttons in either a Panel control, or if you're
using tables, just make sure that the tr and td tags are set with
runat=server. Then, when you don't want to display them, set the containing
control's visible property to false.
 
J

Jon

Ok, so if I change to flow layout and use HTML panel grids and show/hide
them, it will work! Sounds good to me. Thanks


Ben Lucas said:
You could place the 4 extra buttons in either a Panel control, or if
you're using tables, just make sure that the tr and td tags are set with
runat=server. Then, when you don't want to display them, set the
containing control's visible property to false.
 

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
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top