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 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Suraj SahooRank #382 · 6.6K reputationPosted Mar 7, 2015, 7:26 AM EST
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
prabhu p172 reputationPosted Mar 7, 2015, 7:18 PM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts