I would like to have a border around my webgrid. I am using WebGrid.GetHtml, can the htmlAttributes parameter be used to set the border?
The following code shows htmlAttributes: border="1", but I get an error line under the word border that states, "The name border does not exist in the current context."
@gridEvent.GetHtml(
fillEmptyRows: false,
htmlAttributes: border="1",
alternatingRowStyle: "alternate-row",
headerStyle: "grid-header&q ...
Go to the complete details ...