473,289 Members | 1,953 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,289 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 1471
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.