Skip to content
- You can share views between controllers by putting them into the Views/Shared folder. Each controller can then render that view by name.
- You can render a partial view (which can be shared between controllers as in (1)) within the current view using
Html.Partial()
.
- You can use
Html.Action()
to invoke an action on a different controller and render the results within the current view.
- You can use AJAX to load a partial view from a different controller after the page has been rendered.
Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)