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

8 posts, 0 answers
  1. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 01 Oct 2008 Link to this post

    I'm using formedit templates how can I use the 'built-in'
    insert. update, cancel buttons and functions
    thanks
  2. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 01 Oct 2008 Link to this post

    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. :)
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 01 Oct 2008 Link to this post

    Yes...
    But they use custom UPDATE buttons.

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

    thanks
  5. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 01 Oct 2008 Link to this post

    Yes...
    But they use custom UPDATE buttons.

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

    thanks
  6. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 02 Oct 2008 Link to this post

    Hi..
    Any ideas????

    thanks
  7. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 03 Oct 2008 Link to this post

    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.
  8. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 03 Oct 2008 Link to this post

    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
  9. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 03 Oct 2008 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017