Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,


I have two partial pages.

like one is option partial page and second one is list partial page.

I want the functionality like when i click on button from the option page,

I have to referesh my partial list page through that option page button click without postback.

I am using ajax post on option button click event.It goes to the controller method and retuns the result set

but my page will not be refershed

so i am not getting any values on page.

Please let me know.

Thanks
Monika
Posted
Comments
Karthik. A 2-Jul-12 21:28pm    
By saying "i am not getting any values on page" do you mean the result is not "visible" on the screen? Check out the following:

1. Have you specified the "UpdateTargetId" in your ajax options?
2. If you are using MVC 3, you should include jquery.unobtrusive-ajax.js. Have you done that ? [Refer - http://stackoverflow.com/questions/4973605/ajax-actionlink-not-working-response-isajaxrequest-is-always-false]

If this doesn't work, post your code, one of us will help you!

1 solution

In other words, you make an AJAX call, but you've not put the values where they need to be when the call returns ?
 
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