Hi guys,
I need some help to achieve my requirement, we have a set of controls (Text boxs, Date pickers & WebDataGrid v11.1), on page load grid will fill with data and select the first row, which will pre-populate the TextBoxs & Date controls from the Selected Row. If user change the data in any of the TextBoxs & Date Controls and try to Select different Row, then prompt the user with Confirm Message.
To achieve this, i written the following code in RowSelectionChanging event and it works perfectly but only issue is that, Message is dispalying "Twice", i need single message, any help is greatly appreciated.
function ifgWD_CaseInfo_RowSelectionChanging(sender, eventArgs) {
if (isDirty == 1) {
var message = "Changes are pending..."
var answer = confirm(message)
if (!answer) {
eventArgs.set_cancel(true);
return false;
}
else {
return true;
Thanks,
Sunil
Ok Nikolay, when i posting this Question, i got an error, so re-submitted. Thanks
Hi Sunil,
Thank you for posting in our forum.
I see you have created two threads about this issue. Please refer to this one - http://forums.infragistics.com/forums/t/67362.aspx where Nikifor will answer your questions.