473,385 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Web Form Panel Position Problem

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
2 1479
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Alessandro Rossi | last post by:
My problem is to scroll all the controls in a form. The problem is: If there are controls that contains still others controls, that contains still others controls ecc... how can i write an...
3
by: Fabrizio | last post by:
Hi, There is any chance to insert a control like a text box in a panel choosing the absolute position? When I try to insert a label , the panel positions the control on a locked position. Thanks...
2
by: Max | last post by:
Hello, My VB.NET application displays a Windows form in a panel on my main form. While my application has the focus, I want the form in the panel to have the "topmost" position, even if it is...
2
by: Rob | last post by:
Hi, I have a form which has a panel which has a picturebox inside of that. When a user clicks on the picture, it zooms by x2. The panel has autoscroll set to true, so when the image is larger...
14
by: Galen Somerville | last post by:
My current screen resolution is set to 1024 x 768. My form size always comes up as 1032 x 748. I have tried the help sample ' Retrieve the working rectangle from the Screen class ' using the...
3
by: ShadowLocke | last post by:
This is a weird one. I have a page that has two Panels on it with BorderStyle set to double. In design mode everything looks as it should. When I start the page up or move it to a production server,...
2
by: ATR2000 | last post by:
I have setup a Panel to have a width of 100% so that it will adjust to users screensize. Within the panel I have a table. Unfortunately the table holds a lot of data and exceeds the size of the...
2
by: Miro | last post by:
I am starting to think my reason for an inherited form is flawed. My original concept was this: Create a form with a panel near the top with a button in the top right corner, and then a panel in...
5
by: kulabhishek | last post by:
Hi all, I am using panel with autoscroll = true in C# I have added dataGridView control inside panel. When the height and width of dataGridView increases and becomes more than panel size,...
2
by: kulabhishek | last post by:
Hello all. I have developed one user control "Grid" in C# and I am using it in another user control inside one panel. The AutoScroll property for the panel is enabled. When the height or...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.