Questions tagged [mvccontrib]

This project was designed to add functionality and ease-of-use to Microsoft's ASP.NET MVC Framework, MVC Contrib is useful for developers looking to develop and test UI elements on top of the ASP.NET MVC framework.

MvcContrib adds functionality and ease-of-use to Microsoft's ASP.NET MVC Framework. It is primarily intended for use by developers of UI elements that target ASP.NET MVC.

Installation

MvcContrib can most easily be installed through its NuGet package.

Install-Package MvcContrib
311 questions
9
votes
2 answers

Portable Area disadvantages

For people who have experience with Portable Areas, I would like to know if there are disadvantages to using them and why you wouldn't use them to break a large MVC application down into component parts.
Sam
  • 4,219
  • 7
  • 52
  • 80
8
votes
1 answer

T4MVC, is it outdated? Still good? If not what else to use?

Folks, As of today should I introduce T4MVC in my project or use strongly typed goodness from MvcContrib? return RedirectToAction(MVC.MyController.MyAction()); or return RedirectToAction(c => c.MyAction()); Trying to stick with…
6
votes
4 answers

Is using something like the MvcContrib Grid a step backwards in code readability?

I mean, now we have all this movement towards separating your html markup from your code as much as possible using modern template engines (in the old days programmers usually just kept concatenating strings in php, which was terrible.) Then I look…
daniel
  • 1,929
  • 4
  • 14
  • 13
6
votes
1 answer

Can footers be added to MVCContrib grids?

I'd like for my column header to also be footers using MVCContrib grid. How can I add footers? <% Html.Grid(Model).Columns(col => { col.For(c => c.sub_id).Named("Id"); col.For(c => c.name).Named("Name"); col.For(c =>…
RememberME
  • 2,092
  • 4
  • 37
  • 62
6
votes
2 answers

mvccontrib test helper and verifying http post routes and parameters

In my Asp.net MVC app, I have two methods on a controller, one for when the user first arrives on the view and then one when they submit the form on said view. public ActionResult Foo() {} [AcceptVerbs(HttpVerbs.Post)] public ActionResult…
bakasan
  • 2,262
  • 2
  • 26
  • 33
5
votes
2 answers

Why does mvccontrib's AssertViewRendered().ForView("Edit") fail due to view name being full cshtml path?

I have the following unit test: [TestMethod] public void Add_Returns_Edit_View() { // Act ActionResult result = _controller.Add(); // Verify result.AssertViewRendered().ForView("Edit"); } This should…
KallDrexx
  • 27,229
  • 33
  • 143
  • 254
5
votes
1 answer

anyway to install mvccontrib.testhelper with nuget

I have installed mvccontrib using nuget with the usual install-package mvccontrib, but i notice there is no testhelper there. Is there some other way or flag that i have to use to install it. Trying install-package mvccontrib.testhelper doesn't…
paddymurf
  • 53
  • 2
5
votes
1 answer

pro's and cons of MEF vs Portable Areas via MvcContrib for collaborative programming

I've been looking into MEF and Portable areas and the pro's and cons of using these in a collaborative programming environment. I've found the following…
Tom
  • 12,591
  • 13
  • 72
  • 112
5
votes
2 answers

Html.Grid right align data in column

In an Html.Grid, how can we ensure that data in the column (e.g. currency amounts) gets right aligned? Thanks.
Rashmi Pandit
  • 23,230
  • 17
  • 71
  • 111
5
votes
1 answer

where to find a windsor controller factory for mvc 2 ? There is no mvccontrib.castle.dll anymore o_O

I was using WindsorControllerFactory from mvccontrib.castle lib until now, after i migrated to mvc 2 it doesn't work anymore, I've downloaded the latest mvccontrib release and no factories in there
Omu
  • 69,856
  • 92
  • 277
  • 407
5
votes
3 answers

Edit links in GridModel (MVCContrib)

MvcContrib GridModel : Is it possible to do ActionSyntax in a GridModel I've read this article and it's quite useful but I can't apply this. I don't know if in the newest MVCContrib, they removed the ".Action()" because somehow I cannot access…
DucDigital
  • 4,580
  • 9
  • 49
  • 97
5
votes
1 answer

Displaying a literal period following razor syntax

How can I escape the razor engine to print a literal period after my property value? The compiler is interpreting the period as to be followed by a method or property, so it throws an error that 'PDF' is not a valid property or…
Doug Chamberlain
  • 11,192
  • 9
  • 51
  • 91
5
votes
1 answer

Portable Areas Vs Multi project Areas?

Can you please tell me advantages/drawbacks of these two implementations? My context : We have a large project which includes many differents domains. Each domain will naturally be an Area. But many differents teams will work on each and we want to…
Cybermaxs
  • 24,378
  • 8
  • 83
  • 112
4
votes
3 answers

Using HTML.Grid to display child object

I have an ASP.NET MVC application that is using a single view to display the properties and children (with their properties) of a model entity. My model looks something like this: public class Market { public int ID { get; set; } public…
Bill Sempf
  • 976
  • 2
  • 13
  • 40
4
votes
1 answer

MvcContrib vs. MvcFutures

What is the relation between MvcContrib and MvcFutures? Looks like MvcFutures contains code that will be part of future ASP.NET MVC releases and MvcContrib is less official library which contains some features from community. Am I right?
SiberianGuy
  • 24,674
  • 56
  • 152
  • 266
1
2
3
20 21