Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
Can anyone Pls explain in short what is meant by ScriptService attribute and WebMethod attribute.
I need to call a method using AJAX.
Posted 9-Jan-13 2:21am
Tejal S1.9K
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Add a new item in your project, choose Web Service and you'll see a comment about ScriptService. It's an attribute on your class. There will also be a dummy WebMethod in there.
 
Then let us know if there is something specific you need.
  Permalink  
Comments
Member 9725940 at 9-Jan-13 9:17am
   
Thank you :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.141015.1 | Last Updated 9 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100