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 the webGrid in unbound mode, I want to add a chart, but can't (error unable to communicate with server). Can charts be used in an unbound mode? I am using the Unbound_Grid sample as an example of the grid I am using.
Thanks
You should not be able to enable chart feature using unbound in WebGridSamples project, because the way the unbound defined.
The chart image is created dynamically. When user switches the view to chart view, there is a FlyPostBack action. Due to WebGrid lifecycle during FlyPostBack, IniatializeDataSource server side event will be invoked. Based on unbound sample of WebGrid, there is no code at InitializeDataSource, hence causing error and “Unable to communicate with server” exception will appear.
There is a workaround to achieve this kind of scenario. The workaround is by creating a datatable and assign its rows manually. Next, set this datatable as WebGrid’s data source.
I enclosed one simple sample of this workaround. Please have the sample tested on your end and let us know whether this helps or not.
Thank you works great.
Glad to hear that the sample helps.
Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.
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