By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,101 Members | 1,416 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,101 IT Pros & Developers. It's quick & easy.

Web Form Panel Position Problem

P: n/a
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.
May 19 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
How is it displaying in Firefox..
Try posting the aspx page.
Patrick

"Burstock" <Bu******@discussions.microsoft.com> wrote in message
news:FA**********************************@microsof t.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.

May 20 '06 #2

P: n/a
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.
May 20 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.