TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
First Last
NA
648
71.5k
Can a mvc razor partial view be reusable. Have it's own functionality?
Aug 16 2020 11:05 AM
Can't a partial view be reusable have it's own JavaScript to fire off a controller method?
I would want that so I can REUSE this partial view in any parent view. For instance a LIKE button that I can place on any parent whereby the parial has it's own code to process the like (update a table).
Reply
Answers (
1
)
One to Many Relationship
How to pass ascx.cs value to aspx.cs file