List view editing in wizard

3 posts, 0 answers
  1. Ruud
    Ruud avatar
    63 posts
    Member since:
    Oct 2012

    Posted 08 Feb 2015 Link to this post

    Hi guys,
    Another seemly simple task but oh so time consuming... What I try to achieve here:
    - create a list view where users can add items to. Only after hitting a button it will be saved to the database
    - the list items should be created with a separate form (several input forms and select boxes, all with data sources)
    - after filling in the list item and clicking on the Add button it should be appended to the list view items.

    My challenge here is that I do not know how to accomplish this with the edit templates. They all seems to rely on some server call, which I do not want to use. I want to keep this on the client, and after all list items are filled in, then do a call to the server.

    Without doubt simple, but I'm stuck here. Any hints?

  2. Vladimir Iliev
    Vladimir Iliev avatar
    2204 posts

    Posted 11 Feb 2015 Link to this post

    Hi Ruud,

    I would suggest to follow the help topic below - it contains detailed information about how to enable CRUD operations using the ListView on the client side:
    Also please note that the offline application that comes with your UI for ASP.NET MVC installation contains complete runable demo for the mobile ListView:
    • ..\Telerik\UI for ASP.NET MVC Q2 2014\wrappers\aspnetmvc\Examples\VS2012\Kendo.Mvc.Examples\Areas\razor\Views\mobile_listview\editing.cshtml

    For more information about the offline application you can check the introduction topic:

    Vladimir Iliev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. Ruud
    Ruud avatar
    63 posts
    Member since:
    Oct 2012

    Posted 05 Mar 2015 in reply to Vladimir Iliev Link to this post

    Thanks for your answer. I actually managed to get this to work by using the partial validation of the jQuery validation. So I have one big ViewModel used for all the forms in the wizard. This model is divided into several forms in the wizard (step 1, step 2, etc.). By using the partial validation of jQuery I can avoid model errors on steps not filled in yet.
Back to Top