Hi frnds
I am creating web grid using mvc5 .now here I am getting error the type or namespace(webgrid) could not be found( r u missing assembly)
so how to solve this problem
Hi frnds
I am creating web grid using mvc5 .now here I am getting error the type or namespace(webgrid) could not be found( r u missing assembly)
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.
Rajeesh MenothPosted Jan 27, 2017, 12:55 AM
Anjali KhanPosted Jan 27, 2017, 12:18 AM
hi
I added still getting error I m sending my code
@using System.Web.Helpers;
@{
Layout = null;
}
@using (Html.BeginForm("Find" , "SearchNew")){
@Html.ValidationSummary(true)
<fieldset>
<legend>legend>
@{
var grid = new WebGrid();
@grid.gethtml(
headerstyle: "headerstyle",
tablestyle: "tablestyle",
alternatingrowstyle: "alternatestyle",
columns: grid.columns(
grid.column(columnname: "Id", header: "Id"),
grid.column(columnname: "Summary", header: "Summary"),
grid.column(columnname: "Status", header: "Status")))
}
fieldset>
Rajeesh MenothPosted Jan 27, 2017, 12:14 AM