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

Find out if the grid controls are modified

1 Answer 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jimmy Vithalani
Top achievements
Rank 1
Jimmy Vithalani asked on 09 Apr 2010, 08:00 AM
Hi,

I have a grid with client select column, and other columns which contains textboxes and check boxes. User can edit the row by checking or unchecking any checkbox in the grid, or changing the text in any textbox. 

For editing I am not using edit command or any other thing of Grid. User can directly change the values and hit Save.

I want to show a box when user tries to leave unsaved changes in grid. 

Can anyone help me on how to achieve this?

Thanks,

Jimmy.

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 14 Apr 2010, 11:41 AM
Hi Jimmy,

In a case like this, you can keep track of the edited controls. This can be something similar to the approach employed in this example:

http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultcs.aspx

I hope this gets you started properly.

All the best,
Yavor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Jimmy Vithalani
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or