BatchUpdate (Deleting / Updating) and Review Problems

14 replies. Last post: February 10, 2010 9:39 PM by Glenn Layaar
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Attila TelloMember
Hello

I can Insert, Update and Delete records normally with BatchUpdate set to false... but I can't delete or update when it is set to true. It returns an alert with the message (for example):

WebGrid failed to update 2 out of 2 changes due to errors. Please review and correct your changes.

The following records were not updated:
-Record '14037 06-01-2010 10:10:00<4206' : Unable to find the record '14037 06-01-2010 10:10:00<4206' in the datasource.
-Record '14037 13-01-2010 10:10:00<4206' : Unable to find the record '14037 13-01-2010 10:10:00<4206' in the datasource.

The weird thing is the "<" between date and 4206... The same error returns when trying to delete. Only Inserting records with batchupdate returns no error.

Other related issue:

I cant review changes because an alert saying "WebGrid instance can't be found. Please make sure you launch this form from WebGrid UI" appears. My webgrid is inside a javascript generated WebDesktopWindow

        function CreateWindow() {
var wnd = dm.GetWindow('testing');
if (wnd == null) {
wnd = new window.parent.WebDesktopWindow();
wnd.Text = 'Just for testing';
wnd.Name = 'testing';
wnd.AllowMinimize = "Yes";
wnd.AllowMaximize = "Yes";
wnd.AllowResize = "Yes";
wnd.ContentURL = "Testing/ShowTesting.aspx";
wnd.ContentMode = "UseIFrame";
dm.Windows.Add(wnd);
wnd.Show();
wnd.ResizeTo(800, 600);
wnd.MoveToCenterDesktop();
wnd.BringToFront();
}
else {
wnd.Activate();
}
}

My page is too extensive to upload as sample, I just would like an opinion on what it might be. I'll try to send a sample later. By the way... it is almost the same as this sample.

Oh...! About the version: I've updated using the Update Manager, but it returned an error. I've tried to update again and no error returned. Image as attachment.


TIA.


Edit: On FireFox it doesnt event terminate "Submitting all changes to server..."

1 attachment
All times are GMT -5. The time now is 1:35 AM.
Previous Next