This is a migrated thread and some comments may be shown as answers.

[Solved] CrudOperationBuilder.Data(string handler)

0 Answers 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Roel
Top achievements
Rank 1
Roel asked on 05 Jul 2012, 07:02 AM
Hi,

What is the best way to implement CrudOperationBuilder.Data(string handler)? I was thinking about using it for extra parameters like searchcriteria posting to the ajax method.

.DataSource(dataSource => dataSource
            .Ajax()
            .Read(read => read.Action("DossiersGridData",
                                    "Dossier",
                                    new System.Web.Routing.RouteValueDictionary(new Dictionary<string, object>() { { "type", "Road" } })
                                    )
            .Data(??)
 
        ))


Any other suggestions for solving this are welcome.

Kind regards,

Roel Alblas
Tags
General Discussions
Asked by
Roel
Top achievements
Rank 1
Share this question
or