Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: ASP
Posted by: Mario Lopes
Added: Apr 6, 2018 3:30 PM
Modified: Sep 25, 2018 9:51 AM
Views: 56
Com esta formatação a gridview fica responsive
  1. <div class="table-responsive">
  2.  
  3. <asp:GridView ID="GridView1" runat="server"  CssClass="table table-hover table-striped" GridLines="None"  AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource2"  PageSize="20" >
  4. </div>
  5.  
  6.  
  7. outra opção
  8. table table-bordered table-condensed