Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxGridView - How to use a grid in Batch Edit mode on editing and in Edit Form mode on inserting a new row

$
0
0

This example demonstrates how to use ASPxGridView in different modes on editing and inserting a new row.
In the illustrated scenario, the grid edits rows in Batch mode and inserts them using the edit form. For this purpose, ASPxGridView is nested in ASPxCallbackPanel and its mode is switched on the callback panel's callback.
A custom New button is placed in the command column's HeaderTemplate. On the New button's click, you can check if ASPxGridView has unsaved changes using the client-side HasChanges method and call the UpdateEdit method to save these changes or initiate the ASPxCallbackPanel's callback to add a new row.

Question Comments

Added By: Quasar Wong at: 5/3/2015 6:58:24 PM    

Hi I have tested this function and find that the update button not work on inserting a new row. Thanks.
p.s. I am using v14.2.7

Added By: Larry (DevExpress Support) at: 5/3/2015 11:19:54 PM    

Hello,

To process your recent post more efficiently, I created a separate ticket on your behalf: T237227: ASPxGridView - The T191177 example - The update button does not work on inserting a new row. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>