Rank: Newbie Groups: Member
Joined: 7/20/2009 Posts: 6
|
When updating a SQL Server data table by using an EO.Grid on a Callback Panel, I have needed to place a ASP.NET button which I have called "Save" (System.Web.UI.WebControls button) on my web form to cause the data entered in the Grid to be sent to the server. However, the updates to the Grid are occurring client-side and no data is transmitted until the "Save" button is clicked. Question - Is there a way to flag that updates have occurred and alert the user that the "Save" button needs to be clicked, otherwise updates will be lost?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You can handle the Columns' ClientSideEndEdit in order to be notified after every cell is changed. However currently there is no way to capture item deletion event on the client side when using the built-in delete button (item insertion will eventually trigger ClientSideEndEdit event when you actually enter value into the newly inserted item). If you wish to capture delete event, you must put your own ButtonColumn there, handle that button's click event, then use our client side API to delete the item when the button is clicked.
Thanks!
|