what is the aspx vesion of this page

Last post 04-20-2009 4:38 AM by Vince Xu - MSFT. 4 replies.

Sort Posts:

  • what is the aspx vesion of this page

    04-16-2009, 6:14 AM
    • Contributor
      4,147 point Contributor
    • joydeepsen
    • Member since 07-17-2008, 10:25 AM
    • Posts 790

    Hi members,

    I was going through this tutorial from w3schools.com  The example implements a  AJAX Suggest Example.

    My issue is that the destination page is written in asp and PHP. You can check the pages from here .

    What should be the aspx version of this page???? Where shpould i declare those arrays defined on those pages?

     

    Thanks

     

     

     

     

    Joydeep Sen
    Dotnet Developer

    Dont forget to click “Mark as Answer” on the post that helped you.
    This credits that member, earns you a point and mark your thread as Resolved for the sake of Future Readers


  • Re: what is the aspx vesion of this page

    04-16-2009, 7:21 AM
    • Star
      10,558 point Star
    • Danny117
    • Member since 12-16-2008, 2:30 PM
    • Royal Oak Michigan USA
    • Posts 1,837

    The way the example goes its using <% on page coding %> This is still supported on most versions. 

    You could use page_load but I think you'd need to add a response.end() after the response.write()

    There is also an ajax control tookit autocomplete extender if you want to try it out.

    http://www.asp.net/AJAX/AjaxControlToolkit/Samples/AutoComplete/AutoComplete.aspx

     

     

    Good Luck



  • Re: what is the aspx vesion of this page

    04-20-2009, 3:23 AM

    Hi,

    This sample is based on Ajax, rather than ASP.Net Ajax which is above ASP.Net.

    Ajax application is made by JavaScript, so you can also use it in aspx if it is designed by JavaScript and web service.

    However, to support aspx, you had better check ASP.Net Ajax and AJaxControlToolkit which used the same module as ASP.Net.


    Vince Xu
    Microsoft Online Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Re: what is the aspx vesion of this page

    04-20-2009, 3:48 AM
    • Contributor
      4,147 point Contributor
    • joydeepsen
    • Member since 07-17-2008, 10:25 AM
    • Posts 790

    Vince Xu - MSFT:
    This sample is based on Ajax, rather than ASP.Net Ajax which is above ASP.Net.

     

    Hi,

    thanks for your reply .......

    And ya.....i am agree with you that the sample is based on Ajax  not asp.net ajax . But i just want to concentrate on xmlhttprequest object.

    But i do not want to install ajax control kit.... ...i just want to see the capacity of the simple xmlhttprequest object.

    Using xmlhttprequest  we can send a asynchronous request to the server and get the return value with out a full postback.

    Now the example from w3 schools demonestrate a simple application using xmlhttprequest . I also want to implement just the same application but as the destination page in the example is  a asp/PHP page...i just want to use a aspx page over there,That's all my requirement.

    Joydeep Sen
    Dotnet Developer

    Dont forget to click “Mark as Answer” on the post that helped you.
    This credits that member, earns you a point and mark your thread as Resolved for the sake of Future Readers


  • Re: what is the aspx vesion of this page

    04-20-2009, 4:38 AM
    Answer

    Hi,

    You can use xmlhttprequest in aspx page, and you can use this sample in aspx. Just defining JavaScript can be worked in both asp and aspx.


    Vince Xu
    Microsoft Online Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (5 items)