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
0
votes
1 answer

How to access Embedded Resource from code behind in MvcContrib?

I have a Library project which i use it as a portable area project using MvcContrib. Inside the Library project i am accessing a local image from code behind. string imagePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory,…
Catalin
  • 11,503
  • 19
  • 74
  • 147
0
votes
1 answer

Issue with StructureMapController

When ever my project is run in debug mode on a local machine, I get the following error Value cannot be null. Parameter name: key. I've tried to debug it to see whats causing the issue but I've had very little luck. When ever a view is requested…
RGdev
  • 179
  • 9
0
votes
1 answer

MvcContrib namespace not visible in Views

I use MvcContrib Portable Areas, everything is ok, but I decided to use MvcContrib Grid. I have MvcContrib.dll and MvcContrib.FluentHtml.dll referenced to all projects of my solution. The problem is that Views don't see MvcContrib even though it is…
0
votes
2 answers

Issue while testing route entries using mvccontrib test helper in MVC4

I am trying to write test methods for Route entries and in my route config there were a lot of entries for different action. I am using MvcContrib.TestHelper for Testing . I am new to MVC as well as TDD. Kindly help me to solve this issue. My test…
kbvishnu
  • 14,760
  • 19
  • 71
  • 101
0
votes
1 answer

Can I send a message from the web app to a portable area on MvcContrib.Bus

Before I get too stuck in, I wondered if anyone had done this. All the examples I look at of MvcContrib.Bus show the message being sent by the portable area, to the host. I would like to be able to then send a message back from the host to the…
Justin Harvey
  • 14,446
  • 2
  • 27
  • 30
0
votes
1 answer

AssertionException: Value for parameter didn't match

I've not used the MvcContrib for unit testing before and I'm having a bit of trouble running some of the tests. I have the following test method: [TestMethod] public void Create_GET_Route_Maps_To_Action() { RouteData getRouteData =…
ediblecode
  • 11,701
  • 19
  • 68
  • 116
0
votes
1 answer

How do I improve query speed on a paged grid with a large number of results?

I am querying data from our IBM i and displaying it in a grid. The purpose of displaying all records is for a couple reasons: The existing software isn't used properly and people aren't closing out the items. (user/training issue yes, but see other…
Mike Wills
  • 20,959
  • 28
  • 93
  • 149
0
votes
1 answer

Unit Testing Claims in .Net MVC app

Background : We are using MVC4 and using WIF for Claims/Authorization. We are using Moq/MvcContrib for Mockup Objects. I have looked here and created the MockIdentity and MockPrincipal Objects - do I need them? Goal : I have a controller class that…
Pete
  • 169
  • 2
  • 14
0
votes
1 answer

MVC3 with MVCcontrib not rendering/producing html

@model SocialReader.BackOffice.Models.NewsAndCategories @using MvcContrib.UI.Grid; @using MvcContrib.UI.Pager; @using MvcContrib.Pagination; @using System.Linq; @using SocialReader.BackOffice.Common; @{ ViewBag.Title =…
DarthVader
  • 52,984
  • 76
  • 209
  • 300
-1
votes
1 answer

MvcContrib Grid Sorting and paging

seems like I got a trouble when I am using MVCContrib. I am using MVC4 to build a website and I want to show a datagrid that shows all the users My data model is build by ADO.NET Entity Data Model, but I modify it so that I can use it easily in…
Gh0st
  • 1
  • 1
  • 1
  • 3
-2
votes
1 answer

MvcContrib Portable Areas on IIS scripts 404(not found)

The problem i faced was that i run the project correctly, but when the application deploy to the IIS environment, the scripts(embedded in the portable area Dll) couldn't be found (404 error). So i want to ask for help about the key why this would…
JimNeo
  • 23
  • 6
1 2 3
20
21