Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Scroll bars on a datagrid

Reply
Thread Tools

Scroll bars on a datagrid

 
 
UJ
Guest
Posts: n/a
 
      05-13-2005
Can you have vertical scroll bars on a datagrid?

TIA


 
Reply With Quote
 
 
 
 
Ken Cox [Microsoft MVP]
Guest
Posts: n/a
 
      05-14-2005
You can wrap it in a DIV tag like this to get scrollbars:

<div style="vertical-align: top; height:200px; width:100%; overflow:auto;">
<aspataGrid runat="server" ...>
...
</aspataGrid>
</div>


"UJ" <> wrote in message
news:OcNgGO$...
> Can you have vertical scroll bars on a datagrid?
>
> TIA
>



 
Reply With Quote
 
 
 
 
UJ
Guest
Posts: n/a
 
      05-14-2005
Cool - thanks.

"Ken Cox [Microsoft MVP]" <> wrote in message
news:...
> You can wrap it in a DIV tag like this to get scrollbars:
>
> <div style="vertical-align: top; height:200px; width:100%;
> overflow:auto;">
> <aspataGrid runat="server" ...>
> ...
> </aspataGrid>
> </div>
>
>
> "UJ" <> wrote in message
> news:OcNgGO$...
>> Can you have vertical scroll bars on a datagrid?
>>
>> TIA
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a div with scroll bars - can we get the scroll bars on the left instead of the right side? UJ ASP .Net 1 11-01-2006 09:32 PM
Datagrid scroll bars Oscar F ASP .Net Datagrid Control 1 10-19-2004 03:52 AM
Pages validate nicely, but I can see the reason why the scroll bars don't work Paul F. Johnson HTML 4 09-17-2003 10:02 PM
Re: Horizontal scroll bars in IE6? rf HTML 0 07-24-2003 11:43 PM
Re: DIVs and overflow scroll bars S. Justin Gengo ASP .Net 0 07-18-2003 02:18 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57