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 David,
When you set paging mode to classic paging and paging size to 20, it will load the data per page. For your issue, after further investigation, here is what you might can do. On our property, you can go to Layout Setting - PagingDataRetrievalMode, set them to ReturnPartialRows.
I hope it helps and please, do not hesitate to ask if you have any other questions. Thank you and have a nice day.
Best Regards,
Andi Santoso
I am sorry, but I am having a problem to replicate the issue. I have tried to create a simple classic paging using northwind database and when I clicked on next button, the bar and the data is match, it will say Page 2 of 42, and also, the data is changing. Perhaps, you can send me a running simple sample project that will replicate the issue.
Here, I have also attached you my sample using northwind database. I hope it helps. Thank you and have a nice day.
Hi Jocelyn,
Here is a new snippet. Hopefully it will meet your scenario. If i am not mistaken, you want to set the value back to its original before the value goes to BatchUpDate. The problem is occurred because we are using BatchUpdate, it will hold the value first and all the changes will be made when we accept all changes. So, eventhough we set value to the old value, it will not change if the accept is not be made.
function WebGrid1_OnEndRowEditing(controlId, row) { var controlId = ISGetObject("WebGrid1"); var maxValue = 10; if (row.GetCells().GetNamedItem("UnitPrice").Get("Value") > maxValue) { row.GetCells().GetNamedItem("UnitPrice").SetValue(row.GetCells().GetNamedItem("UnitPrice").Get("OldValue"), true); controlId.AcceptAllChanges(); } else { row.GetCells().GetNamedItem("UnitPrice").SetValue(row.GetCells().GetNamedItem("UnitPrice").Get("Value"), true); } return true; }
I hope it helps. Thank you and have a nice day.
Hi Way Hang Wee,
I believe my colleague has assisted you in our LiveChat feature regarding this scenario. Thank you and have a nice day.
Hi Kevin,
Thank you for using our community forum. Yes, we do have a MySQL database binding to WebScheduler using ISDataSource. If you open our WebScheduler sample, there is a sample using MySQL database, for instance MoveSQL.aspx. Or perhaps, you can see our walkthrough on our documentation at "ms-help://ISNet.WebUI.WebScheduler.V3/ISNet.WebUI.WebScheduler/Binding SQL database to WebScheduler using ISDataSource.html"
Hi Xedem,
No, I do not replace any dll files bin, I just run your sample directly. May I know what is the error that you have got ?
Thank you and hav a nice day.
I am still unable to replicate the issue. Here is the link of my video showing of what the WebGrid is capable to. The grouping and sorting seems to be working just fine. I am wondering where was I missing, perhaps you can show me on how to reproduce the issue.
Yes, sorry for the mistaken. The eventType should be Exception. I have tried it and it works fine. I also try to use an alert to show the value inside the TextBox and it works fine. Here is the snippet.
if (eventType == "Exception") { window.setTimeout(function() { window.parent.window[1].document.getElementById("Text1").value = eventView.GetOriginalObject().EventID; }, 100); window.setTimeout(function() { alert(window.parent.window[1].document.getElementById("Text1").value); }, 300); }
Hi Jocelyn
Could you kindly find and run my attached sample? It is using Product Northwind database. In there, you can the unit price value. It will be invalid if you insert the value is greater than 10. And could you tell me if it gives you a same result with your project ?
Thank you and have a nice day.
Hi Yousif,
Thank you for your feedback. Apologize for the inconvenience that occurred. Thank you and have a nice day.
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