Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
Is there any help available to load a Dropdownlist with Ajax in Visual Studio 2005 (without using Ajax Tool kit)? Many available in PHP in different web sites but none of them using Classic Asp pages. If available, Please reply with some code..
Posted

use this ajax function in ur script..



pager: function () {

$.ajax({
type: "POST",
url: "NameOfAspxPage/CodebehindFunctionName",
data: "{variablename:'" + value + "';}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (response) {
// script for binding drop down
}
});
},
 
Share this answer
 
Comments
Dylan Morley 14-Dec-10 7:26am    
You should probably mention that's jquery!
Go here[^], you can find lots of samples.
 
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