This is a migrated thread and some comments may be shown as answers.
Compilation Error with command column with two commands
0 Answers 25 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jon
Top achievements
Rank 1
Jon asked on 30 Jan 2011, 07:43 PM
When I try to define a column in a grid with two commands I the following compilation error:
Compiler Error Message: CS1061: 'Telerik.Web.Mvc.UI.Fluent.GridEditActionCommandBuilder' does not contain a definition for 'Delete' and 
no extension method 'Delete' accepting a first argument of type 'Telerik.Web.Mvc.UI.Fluent.GridEditActionCommandBuilder' 
could be found (are you missing a using directive or an assembly reference?)

//Command column with two commands
            columns.Command(commands => commands
                   .Edit()
                   .Delete())

Since I'm new to C# and MVC2, I can see how I'd easily miss a using directive or an assembly reference, or some
other problem. I'm sure this is a fairly easy fix if somebody could point me in the right direction.
Tags
Grid
Asked by
Jon
Top achievements
Rank 1
Share this question
or