Click here to Skip to main content
Sign Up to vote bad
good
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:21
Shona221.7K


2 solutions

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 - 9 Jan '13 - 9:17
Thank you :)

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 445
1 OriginalGriff 295
2 Arun Vasu 253
3 Zoltán Zörgő 194
4 CPallini 173
0 Sergey Alexandrovich Kryukov 10,105
1 OriginalGriff 7,739
2 CPallini 4,181
3 Rohan Leuva 3,482
4 Maciej Los 2,999


Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 9 Jan 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid