Home All Groups Group Topic Archive Search About

Web Form Panel Position Problem

Author
19 May 2006 6:39 PM
Burstock
I have a page that uses a Panel server control with a vertical scroll bar. It
is in a table on the page that uses a Master page for it basic layout.
Occasionally, when the page displays in IE (not tried other browsers), the
DIV that is derived from the panel displays halfway down the page.
If you refresh the browser, it displays correctly. I have compared the
source from the browser for a good display and a bad one and can't see any
differences in the HTML.
I don't see the same problem with any other pages.
Any ideas?
I am using VS2005, C#, IE6.

Thanks.

Author
20 May 2006 1:37 PM
Patrick.O.Ige
How is it displaying in Firefox..
Try posting the aspx page.
Patrick

Show quoteHide quote
"Burstock" <Burst***@discussions.microsoft.com> wrote in message
news:FA1F3BF9-82C4-411D-B2C8-7C8F3DDED9AA@microsoft.com...
>I have a page that uses a Panel server control with a vertical scroll bar.
>It
> is in a table on the page that uses a Master page for it basic layout.
> Occasionally, when the page displays in IE (not tried other browsers), the
> DIV that is derived from the panel displays halfway down the page.
> If you refresh the browser, it displays correctly. I have compared the
> source from the browser for a good display and a bad one and can't see any
> differences in the HTML.
> I don't see the same problem with any other pages.
> Any ideas?
> I am using VS2005, C#, IE6.
>
> Thanks.
Are all your drivers up to date? click for free checkup

Author
20 May 2006 2:14 PM
Burstock
Can't get it to break in Firefox.
Here is the apsx:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true"
    CodeFile="HardwoodHowMade.aspx.cs" Inherits="HardwoodHowMade" %>

<%@ Register Src="Menu.ascx" TagName="Menu" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
    <table width="940" cellpadding="0" cellspacing="0">
        <tr>
            <td align="left" valign="top">
                <uc1:Menu ID="Menu1" runat="server" />
            </td>
            <td align="left" valign="top" style="width: 940px">
                <asp:Panel ID="Panel1" runat="server" Height="700px"
Width="100%" ScrollBars="Auto">
                    <table cellpadding="0" cellspacing="0" width="80%"
align="center">
                        <tr>
                            <td>
                                <table cellpadding="4" cellspacing="2"
class="ContentBody">
                                    <tr>
                                        <td colspan="2">
                                            <img
src="Images/HardwoodMadeHeader.jpg" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Knowing how home floor covering
products are made is the sign of a savvy shopper.
                                            So well done, you’ve come to the
right place to learn about the ins and outs of
                                            hardwood construction.<br />
                                            So please read on, and we’ll do
our best to help you understand how hardwood is
                                            made, the various types of
construction, and the advantages and disadvantages of
                                            each for you and your home.
                                        </td>
                                        <td>
                                            <img
src="images/howhardwood1.jpg" /></td>
                                    </tr>

                                </table>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>

I have removed a lot of the text content (to make the post easier to read) -
it is just text and <img> tags as more table rows in the inner table.
There is no code behind.

The Master page is just static header stuff - logo, etc.



Post Thread options