I remember reading one back when I started with Kendo, which showed how to create a ViewModel in "classic" Web Forms. I can't find that anymore?
Telerik - not everyone needs the massive overkill of MVC - we still want to use Kendo!
Anyone know where those old tutorials are? I need to create server-side paging for my grid.
Telerik - not everyone needs the massive overkill of MVC - we still want to use Kendo!
Anyone know where those old tutorials are? I need to create server-side paging for my grid.
5 Answers, 1 is accepted
0
Daniel
Top achievements
Rank 1
answered on 15 Jan 2014, 11:21 PM
Bueller? Anyone?
Is this a dumb question? Should be easy to answer then, right?
Is this a dumb question? Should be easy to answer then, right?
0
Hello Daniel,
I am not sure I understand what you are searching for, MVVM is used on the client side and it might be used with any web technology.
http://docs.kendoui.com/getting-started/framework/mvvm/overview
If you are looking for the old MVC extensions, resources are still available here:
http://www.telerik.com/community/forums/aspnet-mvc/general/telerik-mvc-extensions-resources.aspx
Kind Regards,
Petur Subev
Telerik
I am not sure I understand what you are searching for, MVVM is used on the client side and it might be used with any web technology.
http://docs.kendoui.com/getting-started/framework/mvvm/overview
If you are looking for the old MVC extensions, resources are still available here:
http://www.telerik.com/community/forums/aspnet-mvc/general/telerik-mvc-extensions-resources.aspx
Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Daniel
Top achievements
Rank 1
answered on 16 Jan 2014, 05:07 PM
Thanks for the help. That isn't exactly what I was looking for. I'm not sure where I found it before, but I think it was in a pretty obvious place. It's tutorial showing how to do server-side paging using a WCF service - I'm using page methods, which also works. There is a remote possibility that what I read isn't on the main Kendo site, like maybe in a blog or something. Recently, another tutorial was released showing how to do 'active scrolling' where it loads more items as the user gets close to the bottom - that tutorial used the same techniques I want to use now and would probably get me what I need, but I can't find that one either.
Would it be better to just post my code and ask for help to enable paging?
The tutorial I was looking for used a page method or a WCF service with this kind of code, using Entity Framework...
Would it be better to just post my code and ask for help to enable paging?
The tutorial I was looking for used a page method or a WCF service with this kind of code, using Entity Framework...
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
[WebMethod]
public
static
List<DISP_WMDT_SEARCH> getDisputes() {
DisputeQuery dq = (DisputeQuery)HttpContext.Current.Session[DisputeFilter.DisputeQuerySessionName];
if
(dq !=
null
) {
HttpRequest req = HttpContext.Current.Request;
int
skip = (req[
"skip"
] ==
null
) ? 0 :
int
.Parse(req[
"skip"
]);
int
take = (req[
"take"
] ==
null
) ? 100 :
int
.Parse(req[
"take"
]);
string
sql =
"select * from DISP_WMDT_SEARCH where "
+ dq.GetSqlFilters();
using
(DisputesEntitiesContext ctx =
new
DisputesEntitiesContext()) {
return
ctx.ExecuteStoreQuery<DISP_WMDT_SEARCH>(sql)
.Skip(skip)
.Take(take)
.ToList<DISP_WMDT_SEARCH>();
}
}
else
return
new
List<DISP_WMDT_SEARCH>();
}
0
Daniel
Top achievements
Rank 1
answered on 17 Jan 2014, 06:04 PM
I found some sample code here which is from the set of stuff I was looking for: http://www.kendoui.com/code-library/web/grid/grid-bound-to-page-methods---crud.aspx
I figured this out mostly myself, but couldn't get the last part - sorting. My web service isn't receiving the sorting parameter. Once I figure that out, it's golden... thanks for trying to help!
I figured this out mostly myself, but couldn't get the last part - sorting. My web service isn't receiving the sorting parameter. Once I figure that out, it's golden... thanks for trying to help!
0
Hello Daniel,
Basically the blogs are available here:
http://www.kendoui.com/blogs/teamblog/posts.aspx
Also you might find the following repositories helpful since they contain plenty of examples:
https://github.com/telerik/kendo-examples-asp-net
https://github.com/telerik/kendo-examples-asp-net-mvc
Regarding the parameters - if you are not able to find a convenient way to get them on the server side (no matter of the server technology that you are using) you can send them in your own format via the parameterMap function.
Kind Regards,
Petur Subev
Telerik
Basically the blogs are available here:
http://www.kendoui.com/blogs/teamblog/posts.aspx
Also you might find the following repositories helpful since they contain plenty of examples:
https://github.com/telerik/kendo-examples-asp-net
https://github.com/telerik/kendo-examples-asp-net-mvc
Regarding the parameters - if you are not able to find a convenient way to get them on the server side (no matter of the server technology that you are using) you can send them in your own format via the parameterMap function.
Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!