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
Hi,
I am using webgrid with batch update. I want to disable the message box(please see the attached image) which shows when focus is changed. I tried setting the attribute NotifyOnLostFocus to false but still the message box pops up. Could you please suggest me how to suppress this message box?
Thank you
WebGrid 7 has ‘PromptUnsavedChanges’ that determines whether or not user should be prompted when there is unsaved changes in batch update. Simply set the value of this property to ‘false’ in order to suppress the message box.
This should help.
example:
<LayoutSettings Hierarchical="True" AllowAddNew="Yes" AllowColumnMove="Yes" AllowDelete="Yes" <BatchUpdateSettings AllowReviewChanges="True" NotifyOnLostFocus="True" PromptUnsavedChanges="false" /> </LayoutSettings>
Thank you Yudi!!
Sorry for not mentioning the version of WebGrid in my previous post. I am using WebGrid 6.0 and it does not support this property. Is there an alternate solution for this in WebGrid 6.0?
Hi,I am using webgrid with batch update. I want to disable the message box(please see the attached image) which shows when focus is changed. I tried setting the attribute
I am using webgrid with batch update. I want to disable the message box(please see the attached image) which shows when focus is changed. I tried setting the attribute
If I refer to your first post in this thread, you said that you are using WebGrid with batch update enabled. Batch update scenario is introduced for the first time in WebGrid 7 version.
Your last post, that states that you are using WebGrid 6, makes me wonder how did you get the screenshot on the first post if you are using WebGrid 6 (since WebGrid hasn’t support batch update scenario yet).
Please let me know if you have different scenario.
I am attaching the screenshots of the version of webgrid and batch update properties that i get. I do not see PromptUnsavedChanges in the list.
We need to check your project in order to determine what may cause the issue (the ‘PromptUnsavedChanges’ property is not available).
Could you please send us a simple sample project (complete with the WebGrid 6 dll file that you are currently use) to be investigated further?
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
... 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...
... 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...
Could you please kindly create a new thread regarding the issue?
The main topic of your issue is different from this thread’s main topic. Creating a new one will helps to keep each thread in track.
We thought we had similar issue , hense we posted it here. As per your request we have created new thread
http://www.intersoftpt.com/Community/WebGrid/Enabling-batch-update-without-setting-PromptUnsavedChanges-to-true-gives-JavaScript-error/
Please assist asap.
Thank you.
Thank you for posting the issue on a new thread.The discussion about “’null’ is null or not an object.” will be continued on the new thread.
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