Click here to Skip to main content
15,880,972 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to implement responsive layouts for gridview in asp.net,based on screen size the the gridview will respond like that size.
please any any information to me.
Posted
Comments
AndrewCharlz 30-Jul-14 2:27am    
you can use the existing grid but the only thing is when u use a grid in mobile display that won look good just build a dynamic table of ur own show the op exactly like one column each row has all the data as a list and set the width as 100% which will get adjusted in all the screen.

hi krish,

Normally mobile devices dose not follow (use) same view you are using for desktop.

to target mobile device you should use Listview (jquery Mobile),you can use frame work Like JQM and twitter bootstrap
 
Share this answer
 
Comments
krish2013 30-Jul-14 5:28am    
Hii Vyas,
Thank you for reply to me.right now i am using bootstrap,but it's not working for responsive layouts for gridview.and i am using footable libraries that one also not working properly.please provide any alternative solution with example.
vyas_pratik20 31-Jul-14 1:58am    
Hi krish, you should design different layout for mobile and you should display data using List view http://demos.jquerymobile.com/1.3.0-rc.1/docs/demos/widgets/listviews/
again user click on a record it will show all detail of the record
Hi,

First Download free responsive layout from google and shortout the code apply to gridview css style simple...
 
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