Programmatically Call RadGrid Events Server Side

2 posts, 0 answers
  1. Station
    Station avatar
    1 posts
    Member since:
    Jul 2019

    Posted 24 Oct 2019 Link to this post

    I want to call Radgrid Events manually Server side. 



    protected void SaveFormButton_Click(object sender, EventArgs e)




    protected void GridListBatchEditCommand(object sender, Telerik.Web.UI.GridBatchEditingEventArgs e)



    SaveButton.ascx and GridBatchEdit.ascx are in one page and need to trigger GridListBatchEditCommand when SaveForm button is clicked in Server Side not Client Side.


    Is there such a way to do this scenario ?



  2. Attila Antal
    Attila Antal avatar
    520 posts

    Posted 29 Oct 2019 Link to this post

    Hi there,

    Batch Edit is a client-side functionality of RadGrid that only works with client-side APIs (e.g. JavaScript code). Check out how in the Batch Editing Client-side API documentation.

    Batch Editing functionality only fires server events when re-binding the Grid, refreshing the grid, canceling or saving the changes.

    To answer your question, yes it is possible to fire commands with the Grid.


    However, you will need to keep in mind, that Batch Editing functionality can only be manipulated on the client.

    Please let us know if you have any question.

    Kind regards,
    Attila Antal
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top