This question is locked. New answers and comments are not allowed.
How to send a more complex view model to a telerik grid?
The following works when I just send an IENumerable<List>...
But I also want to send some other things, so I created TelerikViewModel, which has my IENumerable<List> and other variables.
But then I keep getting following error, what is wrong?
Compiler Error Message: CS0411: The type arguments for method 'Telerik.Web.Mvc.UI.ViewComponentFactory.Grid<T>(System.Collections.Generic.IEnumerable<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
Source Error:
...
The following works when I just send an IENumerable<List>...
But I also want to send some other things, so I created TelerikViewModel, which has my IENumerable<List> and other variables.
But then I keep getting following error, what is wrong?
Compiler Error Message: CS0411: The type arguments for method 'Telerik.Web.Mvc.UI.ViewComponentFactory.Grid<T>(System.Collections.Generic.IEnumerable<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
Source Error:
|
...