I have a partial view which is used more than once in a page. On clicking a link on each of these controls I want that control to refresh itself. How can I achieve it most easily?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Let’s suppose that in your main view you are including the partial multiple times:
And here’s the contents of the partial:
Now all that’s left is progressively enhance those anchors: