Scrollbar
-
How to bring scrollbar in asp.net web page? and how to use scrollbar in gridview?
-
How to bring scrollbar in asp.net web page? and how to use scrollbar in gridview?
kavinnagarajan wrote:
How to bring scrollbar in asp.net web page?
This default behaviour based on page height. You can customize it using CSS.
kavinnagarajan wrote:
and how to use scrollbar in gridview?
Put GridView Inside a
DIV
and fix theDIV Height
t.Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article
-
How to bring scrollbar in asp.net web page? and how to use scrollbar in gridview?
For simple HTML div you can enable scrollbar using the overfolow style property. All you need is to set overflow:auto; for div. For example
...............
...............Alternatively you can place gridview inside this scrollbar enabled div.
Share your experience with others Check my Blog...
-
How to bring scrollbar in asp.net web page? and how to use scrollbar in gridview?
You can also use ASP.NET Panel control. Fix the height and width of the Panel control and use Panel.ScrollBars property to enable Horizontal/Vertical scroll bars. It is actually rendered as a DIV tag.