I am working on asp.net mvc project using views and partial views. Multiple partial views are being rendered in single view. Now my problem is that when ever i update some values in partial view and render it again through controller it does not show partial view with updated value.... to see updated value i have to refresh the page each time.
A:
have you tried placing your partial views in a form and posting the form when you change the values?
Lovely Bananas
2010-05-21 12:20:32
no i haven't used form..
Janiya Gupta
2010-05-21 12:32:36
well if you place a form around your partial views and either submit the form from an ajax request or from a submit button click. depends on how your updating your partial view - i'd have to see your code.
Lovely Bananas
2010-05-21 12:36:09