Data form with Next/Prev record

6 posts, 0 answers
  1. Brad
    Brad avatar
    13 posts
    Member since:
    Mar 2016

    Posted 09 Mar Link to this post

    I want to create a bound form with next/prev/first/last/delete/new buttons.

    Is there any sample code or demos out there on how to implement this? Even better would be samples that also show a linked subgrid, a la invoice details/Line Items.

    Thanks,

    Brad

  2. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 12 Mar Link to this post

    Hi Brad,

    You can utilize the described functionality by using our Grid for ASP.NET MVC with enabled paging and editing.

    You can find several data-editing approaches in the DataEditing section of the Grid's live demos:
     -  Batch editing
     -  Inline editing
     -  Popup editing
     -  Editing custom editor
    etc.

    Regards,
    Vessy
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Brad
    Brad avatar
    13 posts
    Member since:
    Mar 2016

    Posted 14 Mar in reply to Vessy Link to this post

    Vessy,

    Thanks. I did find all of that for Grids, but I am trying to do that with forms specifically - look at what Microsoft Access can let you do in just a few minutes but would take a very experienced web developer, with expensive tools, a few days to do.

    As far as I have been able to determine, I can use your grid control for the linked sub grid, but I am on my own with the form - probably Angular with Angular-xeditable are the right tools.

    I have been hunting for a way to develop database front end web apps with the ease of Access or FileMaker. The Telerik MVC UI controls get me a couple of steps closer, but a long journey still remains.

    - Brad

  5. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 16 Mar Link to this post

    Hi Brad,

    Thank you for the additional information. If I understand the scenario properly you want to have a form through which the client can add/edit the data items shown in a grid below it. If so - yes, you will need to handle the updating of the data in the grid with the input data on your own. As a base for your implementation you can use the logic given in the following demo (the form is added to a pop-up window appearing then the Add/Edit buttons are clicked):
    http://demos.telerik.com/aspnet-mvc/grid/editing-popup

    Regards,
    Vessy
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  6. Brad
    Brad avatar
    13 posts
    Member since:
    Mar 2016

    Posted 16 Mar in reply to Vessy Link to this post

    Vessy,

    Sorry I was not clear on this - I should have given an example due to varying terminology.

    Imagine an invoice screen. You have the invoice form up top that has customer name, invoice number, date, terms, note and such.

    Then below you have a grid with the line items that apply to that invoice.

    The Invoice form has next/prev buttons so you can move to the next invoice or the previous invoice for that customer. Entering or editing the form's data would happen in place.

    The grid part I have figure out and is pretty easy.

    It's the databound form that allows you to navigate through the table that is a bit trickier to set up. I can wire everything together using Angular and Angular-xeditable and ASP.Net MVC.with some moderately creative Linq.

    But does the Telerik MVC UI framework have a control set or something that make this noticeably easier to do?

    - Brad

     

     

     

  7. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 18 Mar Link to this post

    Hi Brad,

    Unless you are not using the Grid's built in edit forms, but and external one you will need to handle the data management with your own logic. I am afraid that we do not have such an already prepared example.

    Regards,
    Vessy
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET MVC is VS 2017 Ready