Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hai,

My task is to load the page without full page refreshing whenever a button is clicked .. i am getting various solution for this when i googled it. so i dont know which one to follow and even if i follow i am not getting exact output.. so please sugest me some code for ajax .
Posted
Comments
Tajuddin_HYD 27-Jul-11 4:55am    
can u tell me what exactly problem ur getting?, u can place ur code in isnotpost back condition in page load where u dont want to refresh

Before you start writing code, I strongly advise you to have a basic understanding[^] of the topic. After that, you can probably start with a simple Hello World[^] application. CP has also one good example[^] of using AJAX on ASP.Net.
 
Share this answer
 
Comments
Manas Bhardwaj 27-Jul-11 5:04am    
+5. well said!
walterhevedeich 27-Jul-11 5:10am    
Thank you Manas.
Start from here
AJAX Tutorial[^]
 
Share this answer
 
Comments
Iam Velu 27-Jul-11 5:06am    
i am doing some programming in the server side when a button is clicked..so i have to use onclick for tat coding..then how will i be able to do this
raju melveetilpurayil 27-Jul-11 5:16am    
you can use update panels
You can do it by Ajax and jquery by using $.getJSON, $.ajax or WebMethod
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900