Results 1 to 5 of 5

Thread: What is Ajax DotNet?

  1. #1
    Join Date
    Aug 2006
    Posts
    168

    What is Ajax DotNet?

    I and some of my friends have been told to learn the Ajax Dot Net. I not know anything about that.! Instead of searching on the web I thought to have some suggestions from you guys.!! can anyone explain me about the Ajax Dot Net. Also give me the information about the topics related to it.!! Please help me soon.!
    "All gave some, some gave all."

  2. #2
    Join Date
    Aug 2006
    Posts
    235

    Re: What is Ajax DotNet?

    The AJAX.NET stands for the Asynchronous Javascript which is done by using the XMLHttpRequest. The good feature of the AJAX.NET, is that from the client side JavaScript, you can call the server-side code without reloading the page. Also the frameworks have one unique AJAX feature that is they allow updating page content without programming AJAX directly. AJAX also gives almost limitless powers to the little script that could.
    3.2 (northwood)
    2gig ram
    ATI AIW X800xt 256mb
    Gigabyte GA-8knxp 875p Chipset
    Optiwrite 8X DVD Burner
    Win XP PRO Sp2 (Works Perfectly)
    2 SATA Raptor 74gig Raid 0
    2 7200 IDE 320gig HD

  3. #3
    Join Date
    Aug 2006
    Posts
    227

    Re: What is Ajax DotNet?

    I am assuming that you are now knowing the basic things about the Ajax.Net. So its time for you to look at the basic coding of it. For generating the JavaScript calls, AJAX.NET uses an HttpHandler. The first thing you have to do is register 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>
    I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.

  4. #4
    Join Date
    Jul 2006
    Posts
    286

    Re: What is Ajax DotNet?

    You now know that the AJAX.NET uses an HttpHandler. Also additional to that ajaxDotNet supports global and per call event handlers. When the individual call takes place, then the global event handlers are fired. Per call event handlers can be set on the actual call or through the defaults function. You can write the following line of code in your page_load function :
    Code:
    private void Page_Load(object sender, EventArgs ea){
       Ajax.Utility.RegisterTypeForAjax(this.GetType());
    }
    IF you hate me, please don't mention it. I know who hates me and who doesn't. You really do not have to make fun of people....

  5. #5
    Join Date
    Jul 2006
    Posts
    442

    Re: What is Ajax DotNet?

    Ajax DotNet is also helpful while call the server-side code from the client side JavaScript with no need 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;
    }
    "When they give you ruled paper, write the other way..." J.R.J.

Similar Threads

  1. Unattended install of DotNet Framework 3.5 SP1
    By Tom Small in forum Windows Update
    Replies: 3
    Last Post: 09-01-2014, 10:05 AM
  2. Need information on DotNet Framework
    By Captain Samuel Salt in forum Operating Systems
    Replies: 3
    Last Post: 04-04-2011, 08:18 PM
  3. Java or Dotnet is better?
    By getkiran in forum Software Development
    Replies: 9
    Last Post: 15-10-2010, 09:49 PM
  4. jQuery AJAX vs. Adobe AIR AJAX Class
    By Agaev in forum Windows Software
    Replies: 5
    Last Post: 06-07-2010, 01:59 PM
  5. Traping the power notifications in DotNet
    By AmolP in forum Software Development
    Replies: 4
    Last Post: 05-02-2009, 08:40 PM

Tags for this Thread

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
  •  
Page generated in 1,714,328,404.06038 seconds with 17 queries