Results 1 to 2 of 2

Thread: Ajax with C#?

  1. #1
    Join Date
    Aug 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax with C#?

    Hello every one…
    I have a question, is it possible to call ASPX function and pass the parameters by AJAX.. or should I have to use NORMAL POST or GET, send the data and receive in ASPX as normal Forum POSTING..?

    Thanks in advance..
    Summa

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by summa
    I have a question, is it possible to call ASPX function and pass the parameters by AJAX..
    Yes. The browser will make a HTTP request and the ASP application will handle it as usual.

    or should I have to use NORMAL POST or GET, send the data and receive in ASPX as normal Forum POSTING..?
    You should be doing that anyway; AJAX (in all of its forms) is not a core technology and should not be relied upon. Indeed, it's far from rare for it to be unavailable, rendering your site unusable for those affected.

    If the feature you would implement with AJAX is considered important, then there should be a server-side fallback. If not - the feature is helpful or perhaps simply fun, but not critical - then you can choose to forego such support.

    Mike

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
  •