Refreshing just view contents not the whole layout of the page

Hi all,

I have view with form (_form view) which collects data from the user.

Now when I submit the form, the whole page contents gets reloaded.

I want to refresh middle part(which is specific view contents for actions) instead of reloading whole page.

I tried looking at ajaxSubmitButton without any luck.

Please help!

Thanks,

Sachin.

Hi,

you should use the ajaxOptions attribute and update the part of page with any condition(success,error, onsubmit etc)

thanks

Hi PeRoChAk,

Thanks for the reply!

Can you just provide some sample example code or point some link ?

Thanks,

Sachin