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
Our grids are set up to load 100 rows. When we scroll to the bottom, it loads more data which is fine. However, when the user checks our custom check box on any rows loaded with "Load More Data" they are not processed when the page is posted back.
Also, the number of data rows loaded does not presist on post backs, i.e., they go back to our default of 100.
This is very problematic because the LoadPostData of the check boxes for the additional rows loaded never get hit since the grid doesn't process anything beyond the default of 100 rows.
I'm currently getting around this by storing the VirtualPageSize into a session variable and restoring it as needed. But I also had to add, for post backs, specific code to process through the post back data and update the loaded rows since the grid doesn't do that internally which I don't understand. I can see not persisting/maintaining this on a page load, but why not on a post back? This is important since you allow templated controls that MUST be processed on post backs that may not come from the grid specifically.
Also, I need to get the number of rows loaded compared with the VirtualPageSize. If I change the VirtualPageSize like I'm doing, the next load would then load that number, i.e., if it's 200, then the next loads 200 more which then becomes 400 and so on. I need to track the number of rows loaded versus how many to load. Where do I do this? I can't find a server-side property that tells me how many rows are loaded.
Hello,
If you checkbox raises fullpostback, the loaded rows won't be persisted. It would back at the first loaded rows state. It is our WebGrid behaviour. Also, there is no current method or properties to get the loaded rows number from server side. It only can be done in client side with grid.TotalLoadedRows.
Regards,Handy
Thanks Handy. That's what I figured, but wanted to be sure I didn't miss anything.
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