To use AJAX with ASP.Net 2.0 u neet to download and install AJAX Toolket from microsoft's website.
after u install that AJAX Toolkit u just create ur not logic on webpage... then add AJAX components on webpage and transfter the code u want to be executed by AJAX into those ajax components..