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
5 Answers, 1 is accepted
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

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

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