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
I've created an application that uses WebGrid and the IsDataSource. So far everything works properly, the grid fills in with data, and I am able to edit a text field, and it updates properly.
I wanted to add a web service to the application, however by simply adding a blank file into the App_Code directory, called "myservice.vb", the Update on the WebGrid no longer works. It gives an error:
"ISDataSource ... could not find a non-generic method 'Update' that has parameters ... "
When I delete the "myservice.vb" file, the update functionality works again. This file is not referenced anywhere in the project, and I have also tried with the file there when it has proper webservice functions inside of it, but still get the error.
Is there anyway around this issue?
I don't know what the issue is exactly, but I found a work around that I am happy to use. While reading about the App_Code folder (http://msdn.microsoft.com/en-us/library/t990ks23.aspx), I tried their suggestion and made sub folders, one for my webservice, and one for the datasets. Putting the webservice in a seperate folder seems to have stopped the issue, and allows the update command to work again.
I followed the steps to repro your issue based on your information carefully, but I was unable to replicate it in my end. I also found that this issue is not replicable using WebGridSamples project, start > All Programs > Intersoft WebUI Studio 2009 R1 SP1 > WebUI Studio for ASP.NET > WebGrid7 > VB Sample (Visual Studio 2008 Solution). There is a web service inside the App_Code folder of the project.
Do you have a running simple sample that repro the issue?If you do, could you please send us the sample so that we can investigate it further?
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