iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello Yudi,
We are using WebGrid 7.0 in SharePoint. We are rendering the grid programatically. As we wanted to access the changes both on client side and server side, we have done the following settings::
FYI: interSoftWebUIGrid is an instance of WebGrid 7.0.
interSoftWebUIGrid.LayoutSettings.StatusBarVisible = true; interSoftWebUIGrid.LayoutSettings.AllowBatchUpdate = true; interSoftWebUIGrid.LayoutSettings.BatchUpdateSettings.NotifyOnLostFocus = true; interSoftWebUIGrid.LayoutSettings.BatchUpdateSettings.PromptUnsavedChanges = false;
With these settings, when we change anything in the grid and click on any other button on the page we WILL NOT get the prompt, which is what required, but we get a JavaScript error with the message : Error: 'null' is null or not an object.
Any help on this would be greatly appreciable.
Thanks,
G S
Hi GS,
I have tried your scenario and it works just fine. Please ensure that you have put those block of code inside the server side Initialize Layout of WebGrid.
I also attached you a simple sample of WebGrid using Northwind database and a button on it. After you have made any changes in WebGrid, try to click on the button. It will give us a notification regarding the unsaved data.
I hope it helps. Thank you and have a nice day.
Best Regards,
Andi Santoso
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname