I have a master page lay out with header, left panel (with navigation links).
In one of the web pages, in the content area, I have lots of panels, divs, formviews etc.. all put into multiple collapsible update panels..
On page load the panels are collapsed, so the web page looks good. Once I get down to say, the 4th collapsible and try to open it, everything below that panel shifts to the left (into the master page left panel) and it looks ugly.
How can I keep the master page left panel and the content area of my web page independent?
I want the expanding and collapsiong of panels NOT to effect the left panel at all. Any ideas?
Have you set any height property on your content area? If you have I'll change it to 100% or delete any height definition on the content area to let the page adjust itself.
Eng. Marco Alvarado Gomez
"Problems are only opportunities with thorns on them.."
You're right about that, no server controls will give you style properties. You have to either add a entry in a CSS file or add the style="" statement in order to set style properties. Can you post the master page code?
Eng. Marco Alvarado Gomez
"Problems are only opportunities with thorns on them.."
EzzBoy
Member
334 Points
308 Posts
Content area over flow into master page.
Mar 02, 2011 08:50 PM|LINK
I have a master page lay out with header, left panel (with navigation links).
In one of the web pages, in the content area, I have lots of panels, divs, formviews etc.. all put into multiple collapsible update panels..
On page load the panels are collapsed, so the web page looks good. Once I get down to say, the 4th collapsible and try to open it, everything below that panel shifts to the left (into the master page left panel) and it looks ugly.
How can I keep the master page left panel and the content area of my web page independent?
I want the expanding and collapsiong of panels NOT to effect the left panel at all. Any ideas?
MarcoAlv
Participant
824 Points
190 Posts
Re: Content area over flow into master page.
Mar 02, 2011 11:19 PM|LINK
Have you set any height property on your content area? If you have I'll change it to 100% or delete any height definition on the content area to let the page adjust itself.
"Problems are only opportunities with thorns on them.."
EzzBoy
Member
334 Points
308 Posts
Re: Content area over flow into master page.
Mar 03, 2011 12:49 PM|LINK
No there is no ht specified for the content area.
Infact, I was checking now, the <asp:content > tag does not give me a Height option in intellisense.
MarcoAlv
Participant
824 Points
190 Posts
Re: Content area over flow into master page.
Mar 03, 2011 03:10 PM|LINK
You're right about that, no server controls will give you style properties. You have to either add a entry in a CSS file or add the style="" statement in order to set style properties. Can you post the master page code?
"Problems are only opportunities with thorns on them.."
EzzBoy
Member
334 Points
308 Posts
Re: Content area over flow into master page.
Mar 04, 2011 04:46 AM|LINK
I was able to set the lay out right using very simple resizing in the design mode and small changes in the mark up DIV lay outs...
Thank for all for ideas.