Where are the old tutorials?!

6 posts, 0 answers
  1. Daniel
    Daniel avatar
    4 posts
    Member since:
    Apr 2013

    Posted 14 Jan 2014 Link to this post

    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.
  2. Daniel
    Daniel avatar
    4 posts
    Member since:
    Apr 2013

    Posted 15 Jan 2014 Link to this post

    Bueller? Anyone?

    Is this a dumb question? Should be easy to answer then, right?
  3. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 16 Jan 2014 Link to this post

    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
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  4. Daniel
    Daniel avatar
    4 posts
    Member since:
    Apr 2013

    Posted 16 Jan 2014 Link to this post

    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...

    [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>();
    }
  5. Daniel
    Daniel avatar
    4 posts
    Member since:
    Apr 2013

    Posted 17 Jan 2014 Link to this post

    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!


  6. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 20 Jan 2014 Link to this post

    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
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top