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

[Solved] Use T4MVC for the dataBinding of a Grid

3 Answers 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vincent Girard
Top achievements
Rank 1
Vincent Girard asked on 25 Nov 2010, 03:28 PM
Hi,

I don't like having to put string in .DataBinding(d => d.Ajax().Select("ListAjax", "Admin")), is it possible to use T4MVC and do something like .DataBinding(d => d.Ajax().Select(MVC.Admin.ListAjax())) ?

Thank you!

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 25 Nov 2010, 03:39 PM
Hello Vincent Girard,

Check this code library which shows how to use T4MVC with Telerik Extensions for ASP.NET MVC.

Sincerely yours,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Vincent Girard
Top achievements
Rank 1
answered on 25 Nov 2010, 03:56 PM
Thank you Georgi for the reply,

I downloaded the code but I still don't understand how it works. If I look at it they simply what I try to do : .DataBinding(d => d.Ajax().Select(MVC.Admin.ListAjax().GetRouteValueDictionary())) but for myself I get an error, but not in your project. Is it an extension, a diffenrent build of the telerik dll? What I should be looking for?

Edit : I'm not using the same version of the dll, mine is 2010.2.825.235 and yours 2010.3.1110.235, could it be a new fix?
0
Accepted
Georgi Krustev
Telerik team
answered on 25 Nov 2010, 04:29 PM
Hello Vincent Girard,

T4MVC is supported in 2010.2.930 (SP1 Q2 2010) or later version of Telerik components for ASP.NET MVC.

Regards,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Vincent Girard
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Vincent Girard
Top achievements
Rank 1
Share this question
or