May 09, 2012, 7:51 PM
[CLOSED] [Razor] GridPanel ColumnModel Commands
Hello,
The following example doesn't work? The commands is expecting type "GridCommandBase".
Cheers,
Timothy
The following example doesn't work? The commands is expecting type "GridCommandBase".
@(Html.X().GridPanel()
....
.ColumnModel(models =>
{
models.Add(Html.X().CommandColumn()
.Commands(commands =>
{
commands.Add(new ImageCommand());
} )
.Width(100)
);
} )
)
Any suggestions?Cheers,
Timothy
Last edited by Daniil; May 11, 2012 at 4:34 PM.
Reason: [CLOSED]