I have installed Umbraco 7 in MVC application. Have you achieved ever rendering MVC View from Surface Controller ? If it is possible to do how it can be done by passing model and passing a query string parameter to View ?
how to render MVC views from SurfaceController?
1.7k Views Asked by user576510 At
1
There are 1 best solutions below
Related Questions in UMBRACO
- Call a javascript function on form submission in Umbraco
- Creating a Custom field type in Umbraco to supports the invisible enterprise reCaptcha
- How to filter swiper carousel using jquery?
- Cannot DROP CONSTRAINT in SQL Server
- Adding custom text field to umbraco form setting
- Adding UseCookieConsent to Umbraco causes HTTP 417: Expectation Failed in the back office
- Umbraco content delivery api method to combine queries
- Path returns at negative number string - UmbracoHelper
- Umbraco 13 Macro Parameters Rich Text Editor
- Building a Queries in Umbraco 12+
- Can I create all CRUD Operations in a Surface Controller in Umbraco?
- Loop through a subset then the main set C#, Razor, linq, Umbraco
- get model data from form during post in Umbraco 10
- How can I update multiple Nuget packages to a specific version at the same time?
- Umbraco 13 - Customized dictionary search
Related Questions in UMBRACO7
- Path returns at negative number string - UmbracoHelper
- Getting data from CurrentPage in Umbraco 7 and converting from obj to a type
- Umbraco Surface Controller migrate from V7 to V12
- What is the correct upgrade path from Umbraco version 7 to version 12?
- Can't get custom workflow to appear in Umbraco Forms
- Unable to Login for Umbraco Upgrade Authorization (v7)
- Umbraco V7 deleting properties via content type service
- Images are not converted to .webp automatically
- how to implement microsite in umbraco
- Umbraco version 7.6.0 - Published page throws 404 in specific scenarios
- How to open Azure database .bacpac locally for local Umbraco website?
- 504.0 GatewayTimeout when migrating to umbraco 8
- Upgrade Umbraco v7 to v8 - Migrating obsolete datatypes
- Upgrading from Umbraco 7.15 to 8 (Detected current version 0.0.0)
- How to transform request header such that I don't run into CORS error?
Related Questions in UMBRACO-MVC
- how to render MVC views from SurfaceController?
- how to remove /umbraco/surface/ from URL?
- Umbraco Content Root node not showing the tree-like expandable navigation structure
- Where are models added?
- Importing an UMBRACO site into Visual Studio
- Store Umbraco Member Properties in Separate Table
- Umbraco Razor - binding content fields
- Working with non-Umbraco data in MVC and Umbraco project?
- showing non Umbraco View, error "HTTP Error 404.0 - Not Found"
- how to manage custom data table in Umbraco back office?
- Umbraco form post - using CurrentUmbracoPage with anchor tag
- Umbraco Partial View Macro disappears from richtext editor when saving content
- response.redirect in umbraco mvc surface controller
- Umbraco - On Saving Override removes Macros from content
- How do I unhide a section in the Umbraco admin panel?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If I understand your question correctly, you need to use an approach called Route Hijacking, rather than surface controllers.
Simplified, the steps are:
In your view / template, you will then be able to use
instead of
Here is a very good tutorial / explanation on the approach.
Be sure to read the follow up post too