Click here to Skip to main content
16,021,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to create responsive gridview in asp.net using vb.net

What I have tried:

i have tried sevral options but no one cant work for me please help me..
Posted
Updated 12-Aug-18 22:46pm
Comments
Vincent Maverick Durano 14-Aug-18 10:45am    
Can elaborate more about what exactly do you meant by "responsive"? You mean CSS design or user interaction with data?

1 solution

if you use bootstrap css , its simple
add in page Title
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet" />

in grid view add this class
<asp:GridView runat="server" ID="GridView1" CssClass="table table-responsive table-striped" >


for more information and Documentation go to this site :
https://getbootstrap.com/docs/4.0/content/tables/
 
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