Home > ASP.Net > Repeater with scrollbars

Repeater with scrollbars


one solution is to set the overflow to auto :

<div style="width: 600px; height: 400px; overflow: auto;">

 // your Repeater here


you can also set the div as a server control then dynamicly add its style

<div id="Div1" runat="server" >

//-- your Repeater here 


then you can add the style like this

Div1.Attributes["Style"]"=" width: 600px; height: 400px; overflow: scroll;"

//————another way

    overflow: auto;
    height: 500px;
    border: solid 1px orange;
    height: 480px;
    width: 800px;
<div id="GridScroll" class="grid_scroll">

// Your Repeater


Good Luck

Categories: ASP.Net
  1. Manish
    December 26, 2010 at 5:47 am

    Thanks a lot for your post. It really helped me !!

  2. yasserzaid
    December 26, 2010 at 11:30 am

    @Manish :- You are Welcome 🙂

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: