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,Thank you for waiting.I found a work around that perhaps you could use.I add a couple of validation codes in OnCheckBoxClick client side event. The code checked whether the child row is expanded or not. The WebGrid will uncheck the checkbox, if the row isn’t expanded.Here’s the example snippet code in OnCheckBoxClick:
function WebGrid1_OnCheckBoxClick(controlId, tblName, colName, checkboxValue, originalCheckBoxValue) { var WebGrid1 = ISGetObject(controlId); var tableWebGrid1 = WebGrid1.Tables[tblName]; var tableRowObject = tableWebGrid1.ToRowObject(WebGrid1.CheckedRowContext); if (!tableRowObject.ChildExpanded) { tableRowObject.Uncheck(); } }
I also attached the sample about how I implement the code (based on Hierarchical.aspx WebGrid Sample). To run the sample, just simply add the sample to the WebGrid Solution Sample.Please kindly have review on the sample and let me know your response.Regards,Hans.
if (grid.RootTable.GetRowsCount() == 0) { grid.ResetStatus(true); }
Please kindly have review on the sample and let me know your response.I apologize for any inconvenience this problem may have caused you.Regards,Hans.
Hello,Thank you for your question regarding WebGrid.I made a WebGrid sample with access data source control (Nortwind.mdb database & Shippers table).I add your snippet code in the sample as well.I run the sample in Chrome browser then I click refresh button in WebGrid.However, it works fine on my end.Please kindly have review on the sample and let me know your response.I apologize for any inconvenience this problem may have caused you.Regards,Hans.
Hello,I apologize for any inconvenience this problem may have caused you.Do you have the same error / issue both in Development Environment and Deployment Server, after upgrading your WebGrid assembly?Or you just get the issue in your Deployment Server? If yes, please ensure you use the same project file and assembly file both in Development Environment and Deployment Server.Do you use SmartWebResourses in your project or not?Could you inform me what is web browser that you use to run the WebGrid?Thank you.Regards,Hans.
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