Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi sir good evening

i want to set scroll bar for data grid in asp.net application
i don't know that property option please help me.

thanks
Nandakumar.S
Posted
Comments
raju melveetilpurayil 7-Oct-10 19:10pm    
there is no property option to set scroll bar for data grid in asp.net, CSS can help you to solve this.

See this[^] blog post.
 
Share this answer
 
There is no such property for a data grid.

Place the data grid inside a DIV and set its scroll properties using CSS.
 
Share this answer
 
Enclose your datagrid in a <div> tag and set the overflow style to auto/scroll.

If you need more details, see here: Google search - scrollbar datagrid asp.net[^]
 
Share this answer
 
Comments
Ankur\m/ 7-Oct-10 7:56am    
Couple of answers already. Sorry, I didn't do a refresh before adding the answer.
Anyways the answer has something more for you. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900