AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 Ajax ModalPopup Extender in Asp.Net GridView Control
Posted by Jacob Iluz on  3/18/2010 6:03:47 AM Category: AJAX
Add to my favorites
Email to friend
I read this article and found it very usefull.
I tried to implemet it using VB Every thing works fine except fro the webservice.

I did not quit understand the following:

"In order to access the web service from the client-side javascript, we need to add the ScriptService reference in the web service above the class header as follows.

[System.Web.Script.Services.ScriptService] "

Could you please help me implement it in VB

Thanks


Post Your Reply Post New Question

 Viewer's Reply
Web Services ScriptService in VB.NET
Answered By Moderator1 on 3/19/2010 10:12:59 PM
Hi,

Add as below,

Imports System.Web.Script.Services

<WebService(Namespace:="http://tempuri.org/")> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<ScriptService()>_
Public Class WebService1
Inherits System.Web.Services.WebService

End Class
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
The Art & Science of JavaScript - Free 100 Page Preview!
Take Advantage of Oracle's 2 Day DBA Course
Many .NET teams are underperforming, is yours?