Skip to main content

Questions tagged [asp.net-mvc-templates]

Topics related to creating and customizing and styling Asp.net MVC view Engine to represent better user interface and experiment.

asp.net-mvc-templates
Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

I am trying to create DisplayTemplates -> Object.cshtml template and from it pickup property templates for specified fields. I will provide example to show the problem. The view model ...
Tomas's user avatar
  • 18.2k
0 votes
1 answer
152 views

When i try to login using fb/g+ in my mvc template app, it logs in successfully, but when i log off and re login, it again takes me to the external callback page instead of logging me into the app. ...
It's a trap's user avatar
  • 1,353
1 vote
0 answers
508 views

Using VS 2015 CTP, I'm trying to create a web application that targets fx 4.0 There is no MVC 4 Web Application template in the options. That template does exist in VS 2013 Update 4. Did I miss ...
eych's user avatar
  • 1,272
0 votes
1 answer
544 views

i am using default template of Asp.net MVC 3 but now want to move to MVC 4, i have completed my project but now exporting it to MVC 4. Actually i want only the template of MVC 4 to be applied to my ...
Evil rising's user avatar
0 votes
0 answers
359 views

I am new at ASP.NET.I am using ASP.NET MVC Internet Application template. It contains AccountModels. I enabled migrations on AccountModels.cs. How should I edit configuration file which is created ...
Kerem Zaman's user avatar
9 votes
2 answers
22k views

I found this post about Display and EditorTemplates for MVC: http://www.growingwiththeweb.com/2012/12/aspnet-mvc-display-and-editor-templates.html It creates a display template to easily display a ...
ThdK's user avatar
  • 10.7k
0 votes
1 answer
218 views

knows anyone an article I can implement a template-system in my ASP.NET MVC 4 application? Like many other websites, my own has many different categories and for each should use there own template. ...
Patrik's user avatar
  • 1,129
4 votes
1 answer
537 views

I am wondering if its possible to take an existing partial view's logic and reuse it for dynamic email generation, within a preprocessor template? When looking through the T4ToolKit's intellisense ...
James Grim's user avatar
0 votes
2 answers
939 views

I am using Mvc 4 project from Internet Application template. Why bundle feature does not enabled by default or am I missing something? There is no such methods like this in Mvc4 as mentioned by other ...
CallMeLaNN's user avatar
  • 8,608
2 votes
5 answers
3k views

The following code has been stripped down a lot, but basically what I'm looking to achieve is as follows: I'd like to able to edit Questions and their containing Answer Choices, while being able to ...
bfir3's user avatar
  • 19
2 votes
1 answer
285 views

ASP MVC scaffolding creates Index, Create, Update, Delete views, but how practical is that in reality. There seems to be a lot of duplication of UI code with the Create, Update and Delete views. Would ...
Lee's user avatar
  • 8,824
0 votes
2 answers
304 views

I've recently started to explore Daniel Mohl "F# C# ASP.NET MVC3" template. Can anyone share on how this type of project should be deployed to IIS7?? Thanks.
B.K's user avatar
  • 1
7 votes
1 answer
5k views

Say you have the following object: ...
Brad Christie's user avatar
3 votes
1 answer
5k views

I was reading one of Brad Wilson's articles: ASP.NET MVC 2 Templates, Part 2: ModelMetadata http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-2-modelmetadata.html Let's ...
tugberk's user avatar
  • 58.7k
6 votes
1 answer
2k views

A weird thing keeps happening on one of my ASP.NET MVC 3 apps. I am fetching insert rows via jQuery Ajax api and there is no problem with that. But when I get the necessary partial view back, it is ...
tugberk's user avatar
  • 58.7k
45 votes
3 answers
18k views

Can you point MVC to a folder other than the default ones (Views/Shared/EditorTemplates & Views/Shared/DisplayTemplates)? I'd like to either put them in subfolders below those, or in other ...
Jerad Rose's user avatar
  • 15.5k
10 votes
4 answers
8k views

If I am passing HtmlAttributes into a template, like this: @Html.DisplayFor(m => m.FirstName, new { htmlAttributes = new { @class = "orangetxt strongtxt" } }) ...
Jerad Rose's user avatar
  • 15.5k
23 votes
2 answers
19k views

I just read this blog post on Razor Templating in ASP.NET MVC 3. Put simply, i just dont get it! That is, i don't see why we need this (fairly) complicated code to achieve what can be done IMO ...
RPM1984's user avatar
  • 73.3k
1 vote
1 answer
662 views

So, I personally think this is sort of whack. I put a .aspx template in a nonstandard location. In this example, it has a virtual path of ...
Michael DiBernardo's user avatar
1 vote
0 answers
634 views

Intro: After reading Brad Wilson Metadata series and searching unsuccesfully on google, I was wondering: Question: Has any OS project / code been created that allows you to tag CSS styles in the Meta ...
AJ.'s user avatar
  • 621
3 votes
3 answers
786 views

We're developing 3 asp mvc applications, all will require some of the same shared editor & display template views. Rather than copy/paste these across all 3 projects, is it possible somehow to ...
Jeremy's user avatar
  • 46.9k