Community discussion forum

[4704] Implementing AJAX in ASP.NET

Tags:
  • 9 years ago

    This thread is for discussions of Implementing AJAX in ASP.NET.

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 3 years ago

    Great article.  It would be nice to see an example of posting a simple, then complex data entry form using the ajax wrapper....where you use a custom class object on the client side and submit to a server side "save" function.

  • 3 years ago

    This is truely great article. After I tested the examples in teh article. I already found there are few things I can change on our company's website to improve the performance.


    However, I have difficulty on running the last example - SessionState. I am quite sure the Document object is a custom class or something else? It is much appreciate if someone can help me with this iaaue.


    Darren L.

  • 3 years ago

    Just wanted to let anyone interested in this article that I've posted another one on AJAX/AJAX.Net at MSDN:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ASPNetSpicedAjax.asp


    C# download should be forthcoming


    Cheers,
    Karl

  • 3 years ago

    Over on SourceForge there is a project called Anthem.Net which implements some Ajax functionality. It was originally developed by Jason Diamond and was really easy to use I found.


    Regards,
    JB

  • 2 years ago

    There are actually a number of awesome toolsets floating around for implementing AJAX/Web2.0 in ASP.NET around:


    For an awesome set of AJAX controls to add to your Visual Studio toolbox, look at the PowerWEB controls at: http://www.dart.com


    For a full featured, fancy grid control take a look at: http://www.intersoftpt.com.
    Might be better for your intranet apps - it's a little overweight for the Internet at >300KB of JavaScripts.


    AJAX isn't the only option for building postback free apps though. To generate Web2.0 prototype apps without any coding straight from your database, take a look at http://www.crunchycode.com.
    It builds ASP.NET Web2.0 apps with AJAX, Flash , SmartClients and a bunch of other technologies too.

  • 2 years ago

    Hi guys,

    I just want to share with the other developers that I spent a lot of time searching for some type of tutorial that will show me how to use Ajax. I found a lot of things but what I was really looking for was some type of website that would provide a tutorial walking me through the steps to accomplish the task.

    So, try www.KYNOU.com and search for Ajax. There is an eTutorial that walks you through the steps to create a simple asp.net application using Ajax.

    I hope this helps you guys!

  • 2 years ago

    There are some good online tutorials on introduction to ajax ( Ajax asp.net ) at www.kynou.com. These tutorials are good because they are like training simulators.

    I hope this is useful to you guys  :)

    ps: It shows how to implement with and without the AjaxPro.dll

  • 2 years ago

    I found a lot tutorials out there showing you how to make one drop down list populates another one but most of them either render the second ddl html in javascript (dealing with DOM crap!) or use third-party controls such as ATLAS. Then I decided to come up with my own solution for the problem. What I did was wrap the regular ASP.NET drop down list with two strings and strip off the rendered html that is returned to the Ajax object. This provides me a lot of flexibility: One=> I can use the regular ASP.NET control not having to dealing with DOM objects in JavaScript. Two=> I can use the same technique to use any ASP.NET controls with Ajax.

    I posted this tutorial at www.KYNOU.com

    I hope you guys like it!

  • 2 years ago

    Hi guys!

    I created a control that works like an AJAX container. Basically the way it works is that all the ASP.NET controls that you place inside of the AJAX container will automatically become AJAX enabled.

    For example, at the same website where I uploaded the control assembly, I also posted some tutorials on how to use this AJAX container control. One of the tutorials walks you through the steps to create an AJAX chat application. You will see that you can code the ASP.NET controls exactly the same way you do in other regular projects. The controls are placed inside of the AJAX container which turns them into AJAX enabled. This AJAX container also has a property called ShouldRefresh. When set to true, it will update the contents of all the ASP.NET controls inside of the container.

    Another tutorial that I also posted at http://www.KYNOU.com shows you how to use this AJAX container control to add three dropdownlists onto a web form and make sure that their contents get populated depending on the picked value in the previous dropdownlist. Something like an auto dealer website where you can choose the make and then the model dropdownlist gets populated according to the picked make. This tutorial shows you how to do that with three dropdownlists but you could have unlimited number of dropdownlists.

    I uploaded this control and posted some walkthrough tutorials at http://www.KYNOU.com

    Check it out!

  • 2 years ago
  • 1 year ago

    i use ajax.dll to bring data from server it works good but if i made folder in put asp.net page
    in it ,the ajax function does not work
    the error say that in the java script file can not idetintify the function
    many thanks
    nady





  • 1 year ago
  • 11 months ago

Post a reply

Enter your message below

Sign in or Join us (it's free).