mvccontrib Questions
11
Solved
Suppose I have ViewModel like
public class AnotherViewModel
{
public string Name { get; set; }
}
public class MyViewModel
{
public string Name { get; set; }
public AnotherViewModel Child { get;...
Neck asked 28/9, 2009 at 19:24
4
Solved
Since I have decided to let RC go while staying with Beta for now, I have no way of knowing whether a strongly typed RedirectToAction has been added. Has anybody tried it and is there a strongly ty...
Kopans asked 8/2, 2009 at 16:32
2
Solved
In an Html.Grid, how can we ensure that data in the column (e.g. currency amounts) gets right aligned?
Thanks.
Gleiwitz asked 19/8, 2010 at 4:14
3
Solved
Lets say I render a Checkbox:
@Html.CheckboxFor(x => x.Checked) // Checked is true by default
ASP will turn that as:
<input checked="checked" data-val="true" data-val-required="The field ...
Subsequence asked 12/10, 2012 at 6:39
2
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 componen...
Magdeburg asked 17/6, 2013 at 4:8
1
Solved
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 'P...
Clichy asked 20/5, 2013 at 14:19
2
Does MVCContrib currently support MVC4? I am having a first look at switching a project from MVC2 to MVC4 and having some issues with Portable Areas.
Fulbert asked 5/9, 2012 at 8:22
1
Solved
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<...
Erl asked 15/8, 2012 at 15:4
2
Solved
If you look at the example at this link:
http://www.atlanticbt.com/blog/asp-net-mvc-using-ajax-json-and-partialviews/
How would one write a unit test for the JsonAdd method? I have a similar sit...
Goeselt asked 11/8, 2010 at 19:21
5
Solved
First, sorry for the big post (I've tried to do some research first) and for the mix of technologies on the same question (ASP.NET MVC 3, Ninject and MvcContrib).
I'm developing a project with ASP...
Patsy asked 28/3, 2011 at 13:59
3
I am trying to using portable views with ASP.NET MVC 3 and razor views as that seems like the best way to create an easy plug-in architecture. So I have my class library setup and I have my view lo...
Merkle asked 18/4, 2011 at 3:29
2
Solved
Does any one have any idea about multiproject area support in asp.net mvc 3? As it was degraded to future status in mvc 2. If it is still not included then should we look forward for ASP.Net MVC Po...
Opulence asked 19/10, 2010 at 7:27
3
Solved
I have the following problem: one of the system I'm working in most important features is a search page. In this page I have some options, like records per page, starting date, ending date, and the...
Esparza asked 18/5, 2011 at 16:50
1
Solved
I have the view :
<%= Html.Grid(Model.data).Columns(column => {
column.For(x => x.results)
.Action(item => Html.ActionLink(item.results,"Edit").ToString(),
item => Html.TextBox("r...
Spermaceti asked 4/4, 2011 at 20:53
2
Solved
I'm trying to paginate something with MvcContrib's Html.Pager(), but my razor views can't reference the right namespace.
Controller is ok:
using MvcContrib.Pagination;
...
public ActionResult Lis...
Urbana asked 18/3, 2011 at 1:14
1
Solved
I am tinkering with the MVCContrib Grid and am stuck on how to format a row of data in the grid based on the data.
For example, say we have a grid of products, where each product has data fields l...
Fluorescein asked 11/1, 2011 at 20:54
1
Solved
I am trying to use a partial view editor template in my application using the Html.EditorFor method in my view. If the editor template is directly in the Views/Shared/EditorTemplates directory of m...
Romanesque asked 29/10, 2010 at 20:49
1
Solved
I have read this post and I wanted to use ControllerExtensions.RedirectToAction method. But I have System.Security.VerificationException Which says: type argument '[MyController type]' violates the...
Craps asked 19/2, 2010 at 18:23
4
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 conca...
Becca asked 22/6, 2010 at 20:32
1
Solved
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...
Preoccupation asked 23/4, 2010 at 18:59
1
Solved
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.n...
Abshire asked 25/2, 2010 at 21:42
1
Solved
I am using the MvcContrib library with Castle Windsor and I am having a problem
with setting a parameter when I register a component.
I have the following interfaces for classes that wrap a DataCo...
Catechin asked 24/2, 2010 at 16:32
2
Solved
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() {}
[Accep...
Johnnie asked 29/1, 2010 at 2:52
1
Solved
I am using mvccontrib grid in asp.net mvc(C#) application.
How can i apply css class to the grid thats created for the mvccontrib grid Attributes?
I am looking to construct like:
<table borde...
Ageratum asked 9/1, 2010 at 10:33
21
Solved
I am looking at the MvcContrib Grid component and I'm fascinated, yet at the same time repulsed, by a syntactic trick used in the Grid syntax:
.Attributes(style => "width:100%")
The syn...
Macguiness asked 11/11, 2009 at 21:0
1 Next >
© 2022 - 2024 — McMap. All rights reserved.