Click here to Skip to main content
15,909,324 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i am using a ajax call by Jquery's Ajax Get method
$.get(Dynamic_page.aspx, { Id: ID, Mode: $(strID)[0].value, XYZ: IsSelected }, function(IsSelected) {});



where IsSelected is a Jquery Variable ,can i retrieve a value from my aspx.cs page to get verified which action was performed in aspx.cs page and get appropriate value back

by the callback function of get methord ????

please help

thanks in advance
Posted
Updated 3-Mar-13 4:57am
v3

1 solution

Yes you can call aspx page, It will call your page load there you have to redirect this call to certain method and then that method should return the result.

Otherwise 2nd options is:

You can make static method inside the aspx.cs file which can be called directly from jquery.
See this example:calling static function
 
Share this answer
 
v2

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