Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > page displays fine in IE6, controls superimposed in IE7

Reply
Thread Tools

page displays fine in IE6, controls superimposed in IE7

 
 
BillE
Guest
Posts: n/a
 
      07-01-2008
Using VS2005, C#, asp 2, web forms

I have a panel which contains 3 sub-panels.

The first sub-panel contains a combo box. Making a selection populates a
gridview in the second sub-panel.

Selecting a row in the gridview populates a repeater control in the third
sub panel.

This works just fine in IE6.

In IE7, the third subpanel with the repeater control is superimposed on the
second subpanel with the gridview.

I tried setting a fixed height in subpanel #2, which helps somewhat, but it
still seems that the third subpanel shifts around depending on the number of
rows in the gridview, or something.

What is the best way to cause the page to display properly in IE7, as it
does in IE6?
Thanks
Bill


 
Reply With Quote
 
 
 
 
Mike Collins
Guest
Posts: n/a
 
      07-01-2008
The page is actually displaying properly in IE7, or more properly. IE6 runs
in quirks mode, which means that not all rendering of the page is not to WC3
standards. Are the subpanels stacked on top of each other? If they are, then
if you remove any CSS markup, you may see them stack properly and start to
make sense of how they will display. If you show us your HTML and CSS markup,
I may be able to help better.

"BillE" wrote:

> Using VS2005, C#, asp 2, web forms
>
> I have a panel which contains 3 sub-panels.
>
> The first sub-panel contains a combo box. Making a selection populates a
> gridview in the second sub-panel.
>
> Selecting a row in the gridview populates a repeater control in the third
> sub panel.
>
> This works just fine in IE6.
>
> In IE7, the third subpanel with the repeater control is superimposed on the
> second subpanel with the gridview.
>
> I tried setting a fixed height in subpanel #2, which helps somewhat, but it
> still seems that the third subpanel shifts around depending on the number of
> rows in the gridview, or something.
>
> What is the best way to cause the page to display properly in IE7, as it
> does in IE6?
> Thanks
> Bill
>
>
>

 
Reply With Quote
 
 
 
 
BillE
Guest
Posts: n/a
 
      07-01-2008
It appears that when second subpanel expands to accomodate content, the
third subpanel does not get moved downward as it does in IE6, and content is
superimposed.

I have worked around this by putting a scroll bar on the second subpanel so
it doesn't grow, but this is not ideal, as content is concealed. I will try
removing CSS markup if you think that might help, but it just modifies fonts
and background colors - do you think that could impact the display this way?
It is a complex page, with proprietary information on it so it will be
difficult to display in the newsgroup - is there something in particular I
should look for?

As I described, I would like the summary panel with the grid view to grow
and shrink, depending on the content, and the details panel with the
repeater control move up and down accordingly. Is there a way to do this
that works in IE7?

Thanks
Bill

"Mike Collins" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The page is actually displaying properly in IE7, or more properly. IE6
> runs
> in quirks mode, which means that not all rendering of the page is not to
> WC3
> standards. Are the subpanels stacked on top of each other? If they are,
> then
> if you remove any CSS markup, you may see them stack properly and start to
> make sense of how they will display. If you show us your HTML and CSS
> markup,
> I may be able to help better.
>
> "BillE" wrote:
>
>> Using VS2005, C#, asp 2, web forms
>>
>> I have a panel which contains 3 sub-panels.
>>
>> The first sub-panel contains a combo box. Making a selection populates a
>> gridview in the second sub-panel.
>>
>> Selecting a row in the gridview populates a repeater control in the third
>> sub panel.
>>
>> This works just fine in IE6.
>>
>> In IE7, the third subpanel with the repeater control is superimposed on
>> the
>> second subpanel with the gridview.
>>
>> I tried setting a fixed height in subpanel #2, which helps somewhat, but
>> it
>> still seems that the third subpanel shifts around depending on the number
>> of
>> rows in the gridview, or something.
>>
>> What is the best way to cause the page to display properly in IE7, as it
>> does in IE6?
>> Thanks
>> Bill
>>
>>
>>



 
Reply With Quote
 
Mike Collins
Guest
Posts: n/a
 
      07-01-2008
As I understand it, panels are rendered as DIVs. As such, without any CSS
added, all DIVs display as block -meaning they stack on each other- and grow
with their content, pushing other items down that do not have any styling
that will stop it.

If you create a basic html page with a DIV with three DIVs inside it, you
will see what I mean. Do not add any styling, just add some text so you know
which DIV you are looking at. Maybe by seeing how these work, you will be
able to fix your panels.

"BillE" wrote:

> It appears that when second subpanel expands to accomodate content, the
> third subpanel does not get moved downward as it does in IE6, and content is
> superimposed.
>
> I have worked around this by putting a scroll bar on the second subpanel so
> it doesn't grow, but this is not ideal, as content is concealed. I will try
> removing CSS markup if you think that might help, but it just modifies fonts
> and background colors - do you think that could impact the display this way?
> It is a complex page, with proprietary information on it so it will be
> difficult to display in the newsgroup - is there something in particular I
> should look for?
>
> As I described, I would like the summary panel with the grid view to grow
> and shrink, depending on the content, and the details panel with the
> repeater control move up and down accordingly. Is there a way to do this
> that works in IE7?
>
> Thanks
> Bill
>
> "Mike Collins" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > The page is actually displaying properly in IE7, or more properly. IE6
> > runs
> > in quirks mode, which means that not all rendering of the page is not to
> > WC3
> > standards. Are the subpanels stacked on top of each other? If they are,
> > then
> > if you remove any CSS markup, you may see them stack properly and start to
> > make sense of how they will display. If you show us your HTML and CSS
> > markup,
> > I may be able to help better.
> >
> > "BillE" wrote:
> >
> >> Using VS2005, C#, asp 2, web forms
> >>
> >> I have a panel which contains 3 sub-panels.
> >>
> >> The first sub-panel contains a combo box. Making a selection populates a
> >> gridview in the second sub-panel.
> >>
> >> Selecting a row in the gridview populates a repeater control in the third
> >> sub panel.
> >>
> >> This works just fine in IE6.
> >>
> >> In IE7, the third subpanel with the repeater control is superimposed on
> >> the
> >> second subpanel with the gridview.
> >>
> >> I tried setting a fixed height in subpanel #2, which helps somewhat, but
> >> it
> >> still seems that the third subpanel shifts around depending on the number
> >> of
> >> rows in the gridview, or something.
> >>
> >> What is the best way to cause the page to display properly in IE7, as it
> >> does in IE6?
> >> Thanks
> >> Bill
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Christiano
Guest
Posts: n/a
 
      07-03-2008
i had that problem too...

i solved that setting up the height property on hand...

when you place the controls inside the panel, it resizes, but the height
still like the "smallest size the panel will be"...

IE6 sees the panels stretched, but IE7 reads the height property...



"Mike Collins" <(E-Mail Removed)> escreveu na mensagem
news:(E-Mail Removed)...
> As I understand it, panels are rendered as DIVs. As such, without any CSS
> added, all DIVs display as block -meaning they stack on each other- and
> grow
> with their content, pushing other items down that do not have any styling
> that will stop it.
>
> If you create a basic html page with a DIV with three DIVs inside it, you
> will see what I mean. Do not add any styling, just add some text so you
> know
> which DIV you are looking at. Maybe by seeing how these work, you will be
> able to fix your panels.
>
> "BillE" wrote:
>
>> It appears that when second subpanel expands to accomodate content, the
>> third subpanel does not get moved downward as it does in IE6, and content
>> is
>> superimposed.
>>
>> I have worked around this by putting a scroll bar on the second subpanel
>> so
>> it doesn't grow, but this is not ideal, as content is concealed. I will
>> try
>> removing CSS markup if you think that might help, but it just modifies
>> fonts
>> and background colors - do you think that could impact the display this
>> way?
>> It is a complex page, with proprietary information on it so it will be
>> difficult to display in the newsgroup - is there something in particular
>> I
>> should look for?
>>
>> As I described, I would like the summary panel with the grid view to grow
>> and shrink, depending on the content, and the details panel with the
>> repeater control move up and down accordingly. Is there a way to do this
>> that works in IE7?
>>
>> Thanks
>> Bill
>>
>> "Mike Collins" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > The page is actually displaying properly in IE7, or more properly. IE6
>> > runs
>> > in quirks mode, which means that not all rendering of the page is not
>> > to
>> > WC3
>> > standards. Are the subpanels stacked on top of each other? If they are,
>> > then
>> > if you remove any CSS markup, you may see them stack properly and start
>> > to
>> > make sense of how they will display. If you show us your HTML and CSS
>> > markup,
>> > I may be able to help better.
>> >
>> > "BillE" wrote:
>> >
>> >> Using VS2005, C#, asp 2, web forms
>> >>
>> >> I have a panel which contains 3 sub-panels.
>> >>
>> >> The first sub-panel contains a combo box. Making a selection
>> >> populates a
>> >> gridview in the second sub-panel.
>> >>
>> >> Selecting a row in the gridview populates a repeater control in the
>> >> third
>> >> sub panel.
>> >>
>> >> This works just fine in IE6.
>> >>
>> >> In IE7, the third subpanel with the repeater control is superimposed
>> >> on
>> >> the
>> >> second subpanel with the gridview.
>> >>
>> >> I tried setting a fixed height in subpanel #2, which helps somewhat,
>> >> but
>> >> it
>> >> still seems that the third subpanel shifts around depending on the
>> >> number
>> >> of
>> >> rows in the gridview, or something.
>> >>
>> >> What is the best way to cause the page to display properly in IE7, as
>> >> it
>> >> does in IE6?
>> >> Thanks
>> >> Bill
>> >>
>> >>
>> >>

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
have some HTML that is being sent via email. It displays fine in ecuisinetest@gmail.com ASP .Net 0 02-08-2008 11:13 PM
Page displays fine in IE7. -- In Mozilla the HTML is dumped to the screen. John HTML 6 09-27-2007 06:35 PM
Firefox and IE7 - different displays of course. Explain please? Mike Barnard HTML 3 03-05-2007 11:12 AM
Classic asp date displays- changing over to aspnet date object displays Chumley Walrus ASP .Net 1 12-16-2004 09:57 PM
Superimposed Text Nehmo Sergheyev HTML 6 01-28-2004 05:41 PM



Advertisments