Loading ...

Call PageMethod From JavaScript in ASP.NET Ajax

Who is online?  0 guests and 0 members
home  »  blogs  »  Vijendra Shakya  »  Call PageMethod From JavaScript in ASP.NET Ajax

Product Spotlight

ASP.NET Hosting Spotlight

 

Comments (4)

Abe
Abe said:
i tried exactly what u have done but I could not succeed. the page seems to generate an error. when i debug it what i got was that says 'divWelcomeMessage' is null or not an object any help
3/23/2010
 · 
 
by
rashree
Raj Kushwaha said:

Hi,

My query is simple:-

How we can call Normal Non-Static method from client side?

I mean suppose we have create a methos name like add() then how we can call this method.

5/25/2011
 · 
 
by
Frank
Frank said:

This comment is awaiting moderation.

Call a static method and have it call non-static methods
12/15/2011
 · 
 
by
Anonymous
Thanks. This is exactly what I am looking for. Very simple and easy. Much better than webservices heavy weight approach.
10/8/2009
 · 
 
by
Zeeshan Umar
Zeeshan Umar said:

Really a wonderfull and simple article, however I would like to add that sometimes [WebMethod] does not work properly and we need to add [ScriptMethod] tag also.

 

8/10/2010
 · 
 
by
  • Name:*
  • Email:*
  • Website:
Type the characters you see in the image *

Confirm

Latest community blog posts

  • Hi, Websoftcreation started new batch of asp.net and PHP for MCA,M.Sc,B.tech from 16 Jan,2012 at Jaipur centre. You can take part in this training by just post request on websoftcreation.co.in website. Regards Websoftcreation,Jaipur
  • Well this is really not my last post but I will not be blogging anymore here to avoid cross posting of contents. Instead you can visit my official blog at: Vinz' Blog Note: Stop blogging here doesn't mean I will stop contributing to the codeasp community, of course I will still be moderating posts a...
  • We were stuck with a weird issue. Our ASP.NET web app was crashing for some reason and the event log only displayed Stackoverflow exception. We want to narrow down the reason for the crash and since stackoverflow exceptions are easy to debug (even crash dumps didnt give help much), we wanted our app...
  • The default SqlCommand timeout is 30 seconds, so you might get this error while executing a lengthy Sql operation (like creating a DB and its schema via C# code): Error : Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. In order to fix...
  • We had created a Visual Studio project in C# to create SQL Server 2005 database via C# code. We were referencing these assemblies: Microsoft.SqlServer.Management.Sdk.Sfc.dll Microsoft.SqlServer.Smo.dll Microsoft.SqlServer.ConnectionInfo.dll We also added this DLL but did not reference it as we reali...

Vijendra Shakya's latest blog posts

Product Spotlight

ASP.NET Hosting Spotlight

 

Quick Vote

What kind of email newsletter would you prefer to receive from CodeAsp.Net?