Grid for web service Web Part cannot find any records

Alena Mikhalchanka asked on July 16, 2015 09:50

Hi, everybody! Can anybody explain me how to use Grid for web service Web Part correctly? I specify URL of the web service as http://ServerName/SomeFolderName/MyWebService.asmx, web service has public method DataSet GetDataSet(string parameter). Problem is that grid is not able to get data from this method so I receive message that "". Do we need to add some attributes or another customization to our method? Can you provide correct example, especially how can I input parameters correctly to field "Web service parameters:" in Web Part? Thank You in advance, Alena M.

Recent Answers

Roman Hutnyk answered on July 18, 2015 03:34


I've spent a hour investigating this and came to conclusion that it will be easier to implement your custom data source control and use it with any of listing web parts, like repeater, grid, viewer...

Here is detail documentation on this topic. You can also make it flexible by adding web part properties, so it could consume different services and be reused in different situations.

Hope this helps a bit.

0 votesVote for this answer Mark as a Correct answer

Alena Mikhalchanka answered on July 22, 2015 10:34

Thank You very much, Roman!

I will try to follow Your advice.

All the best, Alena

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.