Hi
I have one button, by clicking the button the webgrid will be refresh or reload. How can I implement in MVC 5
Thank you
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
R J192 reputationPosted Aug 27, 2014, 4:15 PM EDT
1. Create a partialview with webgrid inside it.
2. Place a div tag(lets name it 'mydiv') where ever you want to show webgrid
3. On button click, call jquery get method to fill the partialview into div tag.
Sample code is here
Jquery call on button click --
In Controller ---