Questions tagged [umbraco-mvc]

Umbraco allows you to use Razor to build your views but offers two flavours. The Umbraco MVC tag is aimed specifically at using Razor syntax within an MVC Umbraco solution (as the Macros and approaches are quite different to a WebForm based Razor solution).

23 questions
0
votes
1 answer

how to render MVC views from SurfaceController?

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 ?
user576510
  • 5,777
  • 20
  • 81
  • 144
0
votes
2 answers

In the Umbraco Admin Panel, how do I use an image in Partial View?

I'm able to upload images in the Media section in the admin panel. My question is: how do I use an updated image in a Partial View? I'm not asking about doing it programmatically. I have a very simple Partial View - code below:
user576510
  • 5,777
  • 20
  • 81
  • 144
0
votes
1 answer

How do I unhide a section in the Umbraco admin panel?

I'm new to Umbraco - while playing and trying to explore from the admin area, I have hidden the Users and Members sections. Now, the Members and Users sections are not visible in the admin section. I am logged in using the master/admin account. How…
user576510
  • 5,777
  • 20
  • 81
  • 144
0
votes
1 answer

Umbraco form post - using CurrentUmbracoPage with anchor tag

Using Umbraco 7 - I would like to perform a form post, but then return the user back to the current form if the model state fails validation. However the application is being developed as a single page application - and with that in mind - would…
Richard Read
  • 923
  • 6
  • 13
0
votes
1 answer

showing non Umbraco View, error "HTTP Error 404.0 - Not Found"

In MVC 4 application I have Nuget Umbraco CMS 7. I need to keep a non-Umbraco/ custom controller with view. I have created an MVC controller named Users which has an action named Index. I have updated umbracoReservedUrls in web.config as below:
user576510
  • 5,777
  • 20
  • 81
  • 144
0
votes
2 answers

Umbraco Razor - binding content fields

I've created a template (View) in Umbraco (MVC) and am trying to figure out how to bind to the document type content. Keeping it really simple: @inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = null; }

@Model.Title

My Umbraco…
Ian
  • 33,605
  • 26
  • 118
  • 198
-2
votes
2 answers

Umbraco with MVC Controller

I am working on MVC and i started learning Umbraco, I didn't get how to bind the umbraco page with mvc controller get method to show the database values. can anyone suggest any url or video? Thansk...
-2
votes
2 answers

Where are models added?

(My apologies for all those that voted the question down. I'm not trying to avoid researching. I've been actually trying to find a way for doing this for the past several hours. The only thing I'm trying to avoid is paying the Umbraco TV membership…
dcaping
  • 129
  • 1
  • 1
  • 13
1
2