+ Reply to Thread
Results 1 to 2 of 2

Thread: What is Ajax .Net?

  1. #1
    WalkerCook is offline Senior Member
    Join Date
    Dec 2009
    Posts
    253
    Rep Power
    3

    Default What is Ajax .Net?

    I think you have little bit knowledge of Ajax.Net. So it’s time for you to look at the basic coding of it. For create the JavaScript calls, AJAX.NET uses an HttpHandler. Firstly you have to do is registering the handler in your web.config file, like I have done in the following coding:
    Code:
     <configuration>
        <system.web>
          <httpHandlers>
                   <add verb="POST,GET" path="ajaxwrapper/*.ashx" 
      type="Ajax.PageHandlerFactory, Ajax" />
          </httpHandlers>  
          ...
        <system.web>
      </configuration>

  2. #2
    PerezMorris is offline Senior Member
    Join Date
    Dec 2009
    Posts
    250
    Rep Power
    3

    Default

    Ajax .Net is also useful while call the server-side code from the client plane JavaScript with no involve for reloading the page. You can write the following code to a server-side function with the following Meta tag:

    Code:
     [Ajax.JavascriptMethod()]
      public int ServerSideAdd(int evenNumber, int oddNumber)
      {
                return evenNumber + oddNumber;
      }

+ Reply to Thread

Similar Threads

  1. Ajax Vs JavaScript
    By Lucius Silvester in forum Programming
    Replies: 1
    Last Post: 11-08-2010, 04:10 PM
  2. Ajax Vs JavaScript
    By alicia carpenters in forum Programming
    Replies: 1
    Last Post: 07-04-2010, 06:09 AM
  3. How to put together AJAX Poll in PHP?
    By MyersGray in forum General Software Terms
    Replies: 1
    Last Post: 06-23-2010, 02:35 PM
  4. What is AJAX?
    By WilsonMartin in forum Programming
    Replies: 1
    Last Post: 04-20-2010, 01:26 PM
  5. Ajax Windows
    By Jahmar Anglian in forum Applications
    Replies: 0
    Last Post: 07-29-2009, 09:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48