ASP.NET MVC 3 is the third major version of Model-View-Controller extension for developing web applications in a .NET framework.

learn more… | top users | synonyms (3)

0
votes
1answer
8 views

Custom Filter Attribute or call in Action Method - Earlier in Request Pipeline but Performance?

I have a HomeController with about 8 or 9 Action Methods. About 7 of these methods require a check to see if the User has a special setting or not to see if they are allowed to access these Methods ...
0
votes
1answer
17 views

MVC linking two tables by a string key rather than an int key

I'm using an intranet application - so Windows authentication. The Username has the format "ADHP\BCOOPER" - I would like the users to be able to show a "friendly name" when logged in, so want to map ...
1
vote
0answers
6 views

Silverlight media element not showing buffering state after increase play rate

I am using silverlight plugin for playing media files. I am taking Play rate control for increase/decrease media play rate speed. There is on pop up with progress bar which is shown when media ...
0
votes
0answers
4 views

Model changed during database created

I have uploaded my MVC3 project , it's s simple blog , at first it works well but after couple hours! following error appears (I've made custom error to Off to see the error) The model backing the ...
0
votes
0answers
6 views

Adding optionLabel to Custom DropdownList HTML helper - MVC3

I have created a custom DropDownlist helper to add in an extra attribute in the option tag. I have gotten that bit right and it works as required. However, I would like to include the ...
0
votes
0answers
4 views

JQuery Autocomplete Combo not showing Drop Arrow

I am implementing Jquery combobox Widget in my mvc razor application...but it is showing only textbox and working like jquery autocomplete...the dropdown arrow is not coming so that it can work ...
0
votes
0answers
8 views

Security considerations when porting asp.net application to mono

I've set up a mono 2.10 on ubuntu 12.04 lts. I also installed mono-apache-server4 and mod-mono. I create a simple "hello world" mvc3 project in Visual Studio and then copied the compiled project to ...
1
vote
3answers
27 views

How specify the folder for the test assembly?

I have a project on ASP.NET MVC3. I have written unit tests using NUnit, but their work need a certain folder. I was told that the path to the folder for the test assembly must be specified in the ...
0
votes
2answers
22 views

MVC3 Error: The name 'Partial' does not exist in the current context

I'm attempting to implement the pattern answered here. The controller returns a model to a Partial View (injects just a page part with a full refresh) and is presented as: public ActionResult ...
0
votes
0answers
16 views

Implement Controller Level Filter

I have created a custom WhitespaceFilter filter to remove all white space from HTML. I have written on each of action method of FirestLevelcontroller. If I placed it on the controller level it works ...
0
votes
0answers
13 views

Displaying Edit items by groups MVC 3 razor view using jTable.org's jTable

This is using jTable.org's jTable in a vb.net MVC3 application I am trying to create a layout similar to the below which is actually in use on our site at this time. In the interest of being able ...
0
votes
0answers
17 views

MVC 3 : Request.IsAuthenticated always returns true

I am working on an MVC 3/Razor application and I am currently trying to display a login/logout button depending upon whether or not someone is logged in. I tried to add the forms authentication ...
1
vote
2answers
28 views

MVC3 Custom String Client Validation not working

Newbie to MVC3 and jquery unobtrusive validation. I am trying to achieve a very simple custom string validation for my mvc view model property. I know there is an existing "Required" attribute but ...
0
votes
1answer
24 views

Activation error occured while trying to get instance of type

i have a bunch of view which are associated to the viewmodels and getting hte similar error for all the views and viewmodels. here is the code: I have the following code: public static ...
1
vote
0answers
58 views

Is there any advantage in using a “repository factory” with ASP.NET MVC4 and Entity Framework?

I am developing an application and I started to use as my base some code from an example by John Papa. Looking on the web I found this same code and it appears in an answer to a question on ...
0
votes
0answers
3 views

MVC 3 filter ICollection

I'm trying to create my first filter and till now I can filter (desc and asc) using date, title and author. Now I'm trying to get a filter on my categories. Categories is an ICollection. Does someone ...
1
vote
0answers
49 views

Implement a Custom MVC Base View Page

I am attempting to implement an MVC custom base view page in order to "override" the User property type. This will make my CustomPrincipal type accessible in any view. After searching the web, I ...
0
votes
0answers
29 views

Email attachment not working in Chrome

I am successfully passing the attachment file to my controller but I have issues with Chrome not only styling my Browse... button and attaching text like "No File Chosen" but also the ...
0
votes
1answer
26 views

Getting Error while creating Signal R Hubs

I am getting below java script error when i am using signalR for creating Hubs Dynamically. I am using "jquery.signalR-1.1.2.js" . "Microsoft JScript runtime error: Object doesn't support property or ...
0
votes
1answer
11 views

How to use DateTimePicker control for datetime field in Orchard editor (without adding datetimefieldpart)?

I know there is DateTime field builtin Orchard and i know i can use it by adding DataTimeFieldPart to the my custom part. But my datetime fields belongs to an "event part record" entity and i want ...
-1
votes
0answers
10 views

Filter is not working in telerik grid in mvc4, after grid rebind function called using javascript

in my view i have dropdownlist and telerik grid, based on dropdownlist selected value data is bind to the grid, if dropdownlist selected value changes iam using grid rebind function to display data in ...
0
votes
1answer
19 views

Add Script tag to jquery template in mvc 3

I am trying to add <script> tag to Jquery template as follow <script id="invoiceTemplate" type="text/x-jquery-tmpl"> <script type="text/javascript"> alert('x'); ...
0
votes
1answer
18 views

Using ELMAH and Application_Error at the same time

We have an ASP.NET MVC 3 application that is configured to use ELMAH. We also have code in our Application_Error method like this. Both ELMAH and our custom code log to a database. protected void ...
-3
votes
2answers
39 views

How to get all the folders of the project regardless of its location (different machines)? [closed]

I have a function that searches for files: var filesForSec = Directory.GetFiles(@"\..\..\Project/myProject/SomeFolder", "*.js", SearchOption.AllDirectories); ...
0
votes
1answer
19 views

Extjs Why my numberfeld don't accept decimals

I've got problem with my numberfield its looks like this Extjs version 3.4 { xtype: 'numberfield', fieldLabel: 'Cena', name: 'Price', ...
0
votes
0answers
22 views

how to get popup page when click on imagelink using ajax.imageactionlink() method in mvc 3

iam using the below code in index view @(new HtmlString(@Ajax.ImageActionLink("../../Content/images/grid/Edit.png", "edit", "edit", "edit", new { id = HttpUtility.UrlEncode(item.DeptID) }, ...
0
votes
1answer
28 views

Iterating elements in span and picking the value of certain input field

I am working on an asp.net mvc3 application. I use strongly-typed razor view and I have multiple hidden input fields to hold the data I need. To perform client-side validation I need to check if the ...
0
votes
0answers
16 views

Populating data from database(MS SqlServer) (using Entity Framework 5)to JqGrid using ASP.NET MVC3

I am new to JqGrid and MVC 3 but I have a new requirement to populate data from MS Sql Server using Entity Framework 5 and ASP.Net MVC3 to JqGrid without using any third party plugin(e.g Trirand ...
0
votes
1answer
49 views

Can an HtmlHelper library be compatible with both MVC-3 and MVC-4?

I am trying to create an HtmlHelper library that will work in both MVC-3 and MVC-4 projects. I've been able to get a library that is compatible between MVC-2 and MVC-3 by setting the framework ...
0
votes
0answers
23 views

Page not loaded in fancy jquery popup- used in .net-mvc4

I am working in .net mvc4. I am using jquery fullcalendar when i going to event Edit. I call the fancybox popup. the problem is fullcalendar eventclick popup only showing page not loaded, error ...

1 2 3 4 5 1148
15 30 50 per page