but i want change table position in view(Razor) and one more question can we able to see razor view design without running application
here is view(razor)
@model IEnumerable
Indexs
@Html.ActionLink("Create New", "Create")
@Html.DisplayNameFor(model => model.name) | @Html.DisplayNameFor(model => model.gender) | @Html.DisplayNameFor(model => model.city) | @Html.DisplayNameFor(model => model.dob) | Action |
|---|---|---|---|---|
@Html.DisplayFor(modelItem => item.name) | @Html.DisplayFor(modelItem => item.gender) | @Html.DisplayFor(modelItem => item.city) | @Html.DisplayFor(modelItem => item.dob) | @Html.ActionLink("Edit", "Edit", new { id=item.id }) | @Html.ActionLink("Details", "Details", new { id=item.id }) | @Html.ActionLink("Delete", "Delete", new { id=item.id }) |
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
prabhu pPosted Mar 8, 2015, 12:18 AM
Suraj SahooPosted Mar 7, 2015, 12:26 PM
youcant see the design/view page in razor without running. But yes if you run the application and try and edit the styling in Developers tool on the browser and then manipulate based on the changes (add class or inline styles). This should help forsure.
Thanks