You can use this grid with vb.net ?

Jul 29, 2013 at 6:58 AM
You can use this grid with vb.net ?
Coordinator
Aug 4, 2013 at 6:56 AM
Hi,
It seems that is no probem to use grid in vb.net projects. But I am C# guy and all docs contain examples in Razor C# syntax. You need to use Razor VB syntax, like:
@Imports GridMvc.Html
@ModelType List(Of Order)
...
@Html.Grid(Model).Columns(Function(col) 
                            col.Add(Function(o) o.Number).SetWidth(20).Titled("Number")                                                             
                            End Function).Sortable()
Dec 18, 2013 at 12:43 PM
But layout in cs.html ?
Coordinator
Dec 18, 2013 at 4:27 PM
Why? I test this code in vbhtml file
Dec 18, 2013 at 6:02 PM
Downloading the package from Nuget I created two layout pages in c #.