Using the MVC 4 Wijmo Mobile Scaffolding > Step 1 of 4: Create a Mobile MVC Tools Web Application |
Begin by creating a new C1 ASP.NET MVC 4 Mobile Application . It will be automatically styled with built-in views. Complete the following steps:
<div data-role="menu" class="ui-body-a">
<ul data-role="listview" data-theme="a">
<li>@Html.ActionLink("About", "About", "Home")</li>
<li>@Html.ActionLink("Contact", "Contact", "Home")</li>
</ul>
</div>
And change it so that it resembles the following markup. This will add a ToDo item to your menu:
<div data-role="menu" class="ui-body-a">
<ul data-role="listview" data-theme="a">
<li>@Html.ActionLink("ToDo", "Index", "ToDo")</li>
<li>@Html.ActionLink("About", "About", "Home")</li>
<li>@Html.ActionLink("Contact", "Contact", "Home")</li>
</ul>
</div>
Next, you will add a model for the project.