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

Ho can I access each WebUserControl used for editing in ...

1 Answer 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Henrik
Top achievements
Rank 1
Henrik asked on 28 Jan 2011, 08:10 AM
.... MultipleEditGrid. I need to check for unsaved records on PageChange and If I find any records in EditItems call .Save function on eachControl. I Guess I can just remove record from EditItems if saving was ok.

Is it also possible to check for unsaved revords on page_unload?

//h

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 02 Feb 2011, 01:38 PM
Hello Henrik,

I would suggest that you implement your logic in the PageIndexChanged/ItemCommand event. There check if there are items in edit mode. You can see that by checking the EditIndexes collection. Then perform batch update as described here for instance.

Regards,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Henrik
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or