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
Dear InterSoft,
I am working with WebGrid 7 which binds to the ObjectDataSource on a Server.
How can I get data back in a JSON format? Please provide a sample.
Thank you in advance,
Nick
Hello Nick,
You can get the JSON data by enabling Client binding. Currently, if you only use ServerDataSourceID, it will not generate JSON. However, you can trick it by enabling Client Binding property.To see the JSON data, you can try to inspect in OnResponse clientside event.
There should be some information about JSON data such as, WebGrid1.XmlHttp.responseText;
Regards,Handy
Hello Handy,
This approach doesn't work. When I change BindingOperationMode = "ServerBinding" to BindingOperationMode = "ClientBinding" on any simple Intersoft grid then I get an error. It is hard to believe that you can do it with no error. Can you send me any sample please
BindingOperationMode = "ServerBinding" to BindingOperationMode = "ClientBinding" on any simple Intersoft grid then I get an error. It is hard to believe that you can do it with no error. Can you send me any sample please
regards,
Hi Nick,
As I mentioned in previous thread, http://www.intersoftpt.com/Community/WebGrid/JSON-for-Server-Databinding-grid/, I need to clarify your WebGrid7 build version. If you are using build .419, no wonder you got the error. This is known issue in .419.To make it work, you can downgrade to .418. Here is the attached hotfixes.
Handy,
Thank you. I will try this
Regards,
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