Ask a Question related to ASP.NET General, Design and Development.
-
Robert #1
Scrollable Container
Is it possible to create a Panel with a vertical scrollbar?
Thanks
Rob
Robert Guest
-
Scrollable Text Area
Hi, I have inherited a website that uses javascript/DHTML to create a scrollable text area. I suspect it was created using a Dreamweaver extension... -
Scrollable Layer?
Anyone know how to create a layer that can scroll? I want a fixed layer size that the mouse-wheel can scroll lower than the fixed area. ... -
scrollable grid
I need a scrollable grid and keep the header fixed. I found one at http://www.datawebcontrols.com/demos/ScrollableDataGridFixedHeader.aspx but I... -
Scrollable DataGrid
You can use a panel control and put the datagrid in it. Then set the asp:panel...style="overflow:auto"..... There is a real nice short article on... -
How to you put form into a scrollable field?
I am creating a flash form which having lots of field that can't fit into the screen, so i wonder how can i create a scroll bar to scroll the form? -
Kevin Spencer #2
Re: Scrollable Container
a Panel is a div. Therefore, you can create a scrolling div by adding one of
a couple of styles:
overflow-x:scroll or overflow-x:auto - Creates a horizontal scrollbar
overflow-y:scroll or overflow-y:auto - Creates a vertical scrollbar
Notes: "scroll" always puts in the scrollbar. "auto" puts it in when the
text overflows the size of the div. Also, if you use "overflow-x" you must
set the width style property, and if you use "overflow-y" you must set the
height style property, or it will not work.
Example:
<div runat="server" id="Div1" style="width:200px;
height:200px;overflow-x=auto;overflow-y=scroll;"></div>
HTH,
Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
[url]http://www.takempis.com[/url]
Big things are made up of
lots of Little things.
"Robert" <robert_dx@gmx.com> wrote in message
news:097701c33f0a$f4799f20$a101280a@phx.gbl...> Is it possible to create a Panel with a vertical scrollbar?
>
> Thanks
> Rob
Kevin Spencer Guest
-
Steve C. Orr, MCSD #3
Re: Scrollable Container
The method Kevin mentioned is the preferred method in my opinion, but
IFrames are also worth mentioning. This of course involves hosting a second
page inside your first. This has advantages and disadvantages.
Here's more info:
[url]http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/IFRAME.asp[/url]
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Robert" <robert_dx@gmx.com> wrote in message
news:097701c33f0a$f4799f20$a101280a@phx.gbl...> Is it possible to create a Panel with a vertical scrollbar?
>
> Thanks
> Rob
Steve C. Orr, MCSD Guest



Reply With Quote

