Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
i implemented one gridview that gridview have total 17 columns here my issue when screen size is decreased the gridview is not visible all the columns.




using bootstrap how to decrease the gridview size based on screen size.
Posted
Comments
Karthik_Mahalingam 7-Feb-14 5:24am    
y cant you use scroll bar ?
krish2013 7-Feb-14 5:49am    
hii Karthik,
Thanks for reply to me.i don't want scroll bar.but when screen size is decreased it's automatically decrease the grid size.

Try adding style="width:100%" to gridview attribute.
You will also need to adjust the style on the controls inside the gridview columns.
 
Share this answer
 
try this

Reponsive Behaviour....
techbrij
Code project
 
Share this answer
 

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