Apr 10, 2012, 5:34 AM
[CLOSED] ImageCommand missing in Razor syntax
I'm trying to replicate something like the following example in Razor Syntax:
<ColumnModel ID="ColumnModel1" runat="server">
<Columns>
<ext:Column ID="Column1" runat="server" Text="Company" DataIndex="company" Flex="1">
<Commands>
<ext:ImageCommand CommandName="Edit" Icon="NoteEdit" Text="Edit">
<ToolTip Text="Edit" />
</ext:ImageCommand>
</Commands>
</ext:Column>
</Columns>
</ColumnModel>
but I am unable to add a ImageCommand to the Commands collection - the closest thing I can see is commands.Add(Html.X().ImageCommandColumn()
Last edited by Daniil; Apr 16, 2012 at 12:06 PM.
Reason: [CLOSED]