How to use AJAX.NET in asp.net
Hello Friends,
I am having vs2005..
I want to create chat application using asp.net...
I posted one forum before in that they told to use AJAX.NET from http://www.ajaxpro.info/default.aspx...
but I dont know how to use this for my chatting application...
Is anbody explain this by conding plz...
Thanks in Advance
Nagarajan
Re: How to use AJAX.NET in asp.net
I have been very happy with Telerik's AJAX control. It is a no-code solution.
What you do is create your "chat" program with all the postbacks in there. Every time someone sends a message, have it do the post back... everytime you want to refres the chat window, do the post back.
You then wrap your controls inside a <rad:AjaxPanel /> and all your postbacks are automatically turned into AJAX posts -- meaning no more post backs for all controls inside that panel -- and it even preserves your view state; thus, a no code solution!
I only very briefly used Ajax.NET, and it's nice if you want to do things client side, but I prefered to write my controls server-side and implement the Telerik control hwere I wanted to avoid post backs _after_ my control was created.
The control isn't free, so if it's just for fun for a personal site, I'd probably stick to something free. But if you can afford it, it's worth it! And hey, you might as well take up their offer for the free demo :)
Cheers
-eli
Re: How to use AJAX.NET in asp.net
The first thing that you should do is take a look at http://atlas.asp.net.