-
Notifications
You must be signed in to change notification settings - Fork 9
/
Default.dothtml
27 lines (21 loc) · 1.14 KB
/
Default.dothtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@viewModel OldWebApp.ViewModels.DefaultViewModel, OldWebApp
@masterPage Views/Site.dotmaster
<dot:Content ContentPlaceHolderID="MainContent">
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS, and JavaScript.</p>
<p><a href="http://www.asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
<div class="row">
<div class="col-sm-12">
<dot:GridView DataSource="{value: Customers}"
AllowSorting="true"
class="table table-bordered">
<dot:GridViewTextColumn ValueBinding="{value: Id}" HeaderText="ID" AllowSorting="true" />
<dot:GridViewTextColumn ValueBinding="{value: FirstName}" HeaderText="First Name" AllowSorting="true" />
<dot:GridViewTextColumn ValueBinding="{value: LastName}" HeaderText="Last Name" AllowSorting="true" />
</dot:GridView>
<dot:DataPager DataSet="{value: Customers}" class="pagination" />
</div>
</div>
</dot:Content>