Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 30, 2012 05:42 AM by ashoksudani
Nov 23, 2012 01:24 PM|LINK
Hi everyone, I'm using MVC3 Razor for a web based project, as usual it has a _Layout.cshtml and several View page binded to Layout.cshtml. What I want to do is; When the user click on a Url.Action menu button placed on "_Layout.cshtml" it must be redirect
dealing sub-view, url bar can be change but not whole page refresh. Only "RenderBody" section can be refreshed and it must be appear with something Jquery Fade In-Fade Out effect. I think it can be made with Jquery.Load() on MVC Partial View but how? Can you
give me an example or tutorial for this? Thanks by now.
Nov 23, 2012 01:48 PM|LINK
Please see http://bit.ly/mvc_ajax_jquery
Nov 27, 2012 03:11 PM|LINK
Actually I want to Ajax load only @RenderBody section (with Loading gif animation and fadein). So is there any idea about it?
Nov 30, 2012 01:07 AM|LINK
I think you can look at these thread:
Hope this helpful
Nov 30, 2012 05:42 AM|LINK
as per my knowlage it is not posible that only your Boby part is Refresh when you use Url.Action.
for this you need to use Jquery in place of Url.Action.
in your meny you need to Call one Jquery Function in ajax call to Action method and replace HTML in your Body.