This is a migrated thread and some comments may be shown as answers.

How to use the Built In Insert/Delete buttons when using form edit templated

7 Answers 77 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 01 Oct 2008, 07:52 PM
I'm using formedit templates how can I use the 'built-in'
insert. update, cancel buttons and functions
thanks

7 Answers, 1 is accepted

Sort by
0
Serrin
Top achievements
Rank 1
answered on 01 Oct 2008, 08:47 PM
Hey Jon,

Good timing, I was just looking into this myself today for an in-house project.

Starting with this online demo, you can look into the aspx and code-behind to see these commands in action:

FormTemplate Update and more

You can also go to these directly in the documentation to get into functions needed themselves:

Updating values in FormTemplate
Inserting values in form template

Let me know if that helps. :)
0
Jon
Top achievements
Rank 1
answered on 01 Oct 2008, 08:55 PM
Yes...
But they use custom UPDATE buttons.

How do you use the built in Edit, Update, Delete

thanks
0
Jon
Top achievements
Rank 1
answered on 01 Oct 2008, 08:55 PM
Yes...
But they use custom UPDATE buttons.

How do you use the built in Edit, Update, Delete

thanks
0
Jon
Top achievements
Rank 1
answered on 02 Oct 2008, 09:03 PM
Hi..
Any ideas????

thanks
0
Vlad
Telerik team
answered on 03 Oct 2008, 05:43 AM
Hello Jon,

You can set CommandName for desired button and if this command is one of predefined grid commands the grid will perform desired action.

Greetings,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jon
Top achievements
Rank 1
answered on 03 Oct 2008, 11:23 AM
How do you display the built in buttons when using Template columns in a Grid???

The example show custom buttons - I'd like to use the built in ones

thanks
0
Sebastian
Telerik team
answered on 03 Oct 2008, 11:26 AM
Hi Jon,

With custom edit forms (FormTemplate in this case) you do not have built-in update/insert/cancel buttons and you have to define them on your own inside the custom edit form. If you would like to use built-in buttons, consider using the auto-generated edit form of the grid with EditMode="EditForms" (default value).

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Jon
Top achievements
Rank 1
Answers by
Serrin
Top achievements
Rank 1
Jon
Top achievements
Rank 1
Vlad
Telerik team
Sebastian
Telerik team
Share this question
or