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!
I have a problem with WebGrid.RefreshAll on client side. When I change grid to using ClientBindig (using web-service to fetch data), than calling RefreshAll is failed with error “Invalid client service command.”. It seems like I need to add web-service function. Please, describe, where in grid declaration it must be? And what parameters of this function?
I tried to reproduce the problem in my local test by adding an HTML button in ClientBinding_ServerDataSource.aspx sample file (this file is one of WebGrid sample file that available in WebGridSamples project). The button will execute WebGrid1.RefreshAll() on client-side. My efforts were not successful – I was unable to reproduce the “Invalid client service command” error message.
I’m willing to advice you further but in order to do so we would need you to elaborate on your specific scenario by providing a working simple sample and give us a step-by-step guide that we can use to observe the problematic behavior.
I’d like to update that I finally able to reproduce the issue using client-binding sample that uses webservice. I will discuss this with the WebGrid development team and get back to you with the result.
Thank you
I just got news from WebGrid development team regarding this issue.
RefreshAll() method will refresh the whole grid, including the grid structure. This is not applicable in client-binding scenario, because there was never HTML (structure) supposed to be delivered. Calling Refresh() method should be sufficient, due to the nature of client-binding which retrieves only “raw data” – not HTML.
Hope this helps.
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