This project is read-only.

use external link in view

Feb 2, 2015 at 8:23 AM
Edited Feb 2, 2015 at 8:38 AM

I use this lib and I find it very useful.
I'd like to specify custom url, for example if I have a class with a prop containing an url and i'd to put a link to this url

I found this syntax:
columns.Add(c => @<a href='@c.linkexternal'>Edit).Title("link"); but I get a compilation error when I try to use it:

"Cannot convert lambda expression to type 'GridMvc.Columns.IGridColumn<Cleerk.Dashboard.ItemPage>' because it is not a delegate type"
What's wrong in this syntax?