473,655 Members | 3,057 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Scrolling Panel Control in Safari

I have a fixed witdth panel control with horizontal scrollbars. In it,
I load a table and in each table cell is an instance of a user control
that I created it. In theory, 3-5 of these controls are visible in the
panel at any given time, and the scrollbars can be used to see anything
that is offscreen (overflowed).

This works as expected in IE 6+. However, in Safari, the scrollbars do
not even show up, leaving only the 3-5 controls visible on the screen.
I've read around the newsgroups and I can't find anyone else screaming
about this issue, so I'm assuming that it is my fault and not really a
cross-browser support problem. If anyone can point me in the right
direction, it would be greatly appreciated!

<asp:Panel ID="pnlGalleryP hotos" runat="server" ScrollBars="Hor izontal"
Visible="true" Width="500px" HorizontalAlign ="Left"></asp:Panel>

pnlGalleryPhoto s.Controls.Clea r()
Dim CTable As New Table
Dim CRow As New TableRow
Dim CCell As New TableCell
CTable.CellPadd ing = 3
CTable.CellSpac ing = 3
CRow.VerticalAl ign = VerticalAlign.T op
CRow.Width = WebControls.Uni t.Percentage(10 0)
CTable.Rows.Add (CRow)
Dim PhotoItem As Modules.PhotoGa lleryPhotoItem
For Each PhotoItem in MyPhotoItemArra y
PhotoItem = LoadControl("Ph otoGalleryPhoto Item.ascx")
'Set Photo Item properties here
'...
'...
CCell = New TableCell
CCell.Controls. Add(PhotoItem)
CRow.Cells.Add( CCell)
CCell = Nothing
PhotoItem = Nothing
Next
CTable.Rows.Add (CRow)
pnlGalleryPhoto s.Controls.Add( CTable)
FYI - The above code is copied in snippets from the project so I can't
promise it will compile as posted. Its just a reference for anyone who
might need it.

Thanks for your help!

-E

Jan 7 '07 #1
0 1251

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1472
by: Dave harris | last post by:
Is anyone aware of any issues with Drag and Drop in a treeview having trouble scrolling past the top/bottom? For this particular control, scrolling down works about 50% of the time and is pretty sensitve (the mouse has to be just so). Scrolling up doesn't work at all. I have tried docking it on a panel and giving the panel a nice thick dock padding to help separate it from other controls on the dialog and it doesn't seem to help.
4
645
by: Nathan | last post by:
I need a panel with only a vertical or only a horizontal scroll bar. Is there a way to do that? Nathan
5
22284
by: Rob T | last post by:
To keep my example simple, let's say I have a windows application form with a panel in it. For this example, I want to draw a single line in the panel, which is larger than the size of the panel. Is there a way to get the scrollbars to show up? Also....If I were to put a control (like a button) into the panel, the scrollbars are there...but my line doesn't redraw properly. How should I be doing this? Thanks.
5
1792
by: Sam | last post by:
Hi, I would like to reproduce the same control as in Visual Studio for the propery editor or the message feedback window. That is, a scrolling panel that would appear when the mouse is over one of the side of the main form. There should be the possibility to anchor it as well. How can I do that ? Thx
0
1750
by: billy_cormic | last post by:
Hello, I am currently using Visual Studio 2005 for a project and I am attempting to employing the new treeview control using VB.net. I have placed the treeview on top of a panel and have enabled vertical scrolling on the panel. The problem is that when I scroll down towards the bottom of the treeview and click on one of the nodes the scroll bar jumps back to the top. Is there anyway to keep the vertical scroll bar in the same position...
2
1566
by: Gaetan | last post by:
I have some log data maintained in a DB that I would like to display on a web page. Some rows of the DB table are wider than the web page therefore horizontal scrolling will be required to view the data. I cannot use a ListBox web control since it does not support horizontal scrolling. In ASP.Net 2.0, what type of web control can I use to allow horizon scrolling of rows larger than the web page? PS, some article on the web indicates...
4
4360
by: iKiLL | last post by:
Hi All I am Developing in C# with VS2005. I am Developing a Windows Mobile Forms Application with the CF2 My problem is that when the Input panel is displayed my screen does not
1
4425
by: =?Utf-8?B?R2lkaQ==?= | last post by:
Hi, I've panel in my windows form, and i want to get the exact mouse position when i double click. I used: Point p = this.panel1.PointToClient(Cursor.Position); but now, if i'm pointing on the top-left corner of the panel i get the cordinates (0,0), and then, i'm scrolling with the mouse whell, and then i double click again, on the same corner and i get the same result.
3
1191
by: Mufasa | last post by:
I have a control on a page that appears when there's something somebody needs to enter. No problem - part of a panel and when they need to enter into it, I set the focus for the control. Problem is, it's not on the page. How can I get the control to be on the page when the page reloads? TIA - Jeff.
0
8380
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8296
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8816
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8497
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8598
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5627
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2721
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1928
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.