0
votes
2answers
55 views

ASP.NET MVC Best Practices [on hold]

I've been working with ASP.NET MVC more and more and I am just loving it. I did want to know what practices others try to follow. My last project is a survey site where users can create and take ...
0
votes
1answer
25 views

Mvc: show animated gif for progress while loading big excel file to database

I am loading a big excel file to the database. I want my users to see that there is an activity going on. I started but didn't know how to proceed. My ActionResult Index method has two parameters. ...
0
votes
1answer
29 views

IIS 8.0 Detailed Error - 405.0 - Method Not Allowed

I am just looking for the different causes that might cause this error. I was working on an intranet site and nothing up to that point had gone wrong. I was working on using Blueimp's Fileupload ...
0
votes
0answers
10 views

Custom 403 error page in MVC4 not showing

I have setup my Web.config in the following way to display custom 403 error pages but for some reason the page isnt shown - I still get the default error page! The custom page is shown correctly for ...
1
vote
1answer
20 views

ServiceKnownTypes Lists not working on WCF client when re-using assemblies

I have a wcf service which has 3 methods, get a list of items, add items, and get a single item. There are 4 possible types that are inherited from a base class. The service is decorated with ...
0
votes
2answers
39 views

Enable Field Validation Error in MVC

On a button click I am hiding all the field validator error by : $(".field-validation-error").hide() However I would need this to be activated for some of the fields but not for all. Let's say I ...
0
votes
1answer
20 views

Custom AuthorizeAttribute Roles property is empty

I have implement RoleAuthorize class from AuthorizeAttribute public sealed class RoleAuthorize : AuthorizeAttribute { protected override bool AuthorizeCore(HttpContextBase httpContext) { ...
0
votes
1answer
16 views

jqPlot line graph with gaps

I have been able to create horizontal line graphing with caps by creating a new series for every timespan in my dataset. While this reflects the look I am going for, I am wondering if this is the most ...
0
votes
1answer
29 views

Hide all ValidationMessageFor on a button click

In my view I have two buttons, the first one will validate & fire all the ValidationMessageFor errors on click.The validations are defined in the Model. Code for validation : ...
0
votes
0answers
12 views

Webgrid Pagination and Sorting not working

I have my webgrid in a partial page as follows. From the following page I updates my grid in a partial view, through an ajax call. @using (Html.BeginForm("Manage", "Book",FormMethod.Get, new { @id = ...
0
votes
1answer
27 views

Set Label for checkbox in razor

How to set label to the checkbox, I looked at some sites they r using lambda expressions, but I cant understand, I am new to mvc @{ bool chkVal = false; } ...
-1
votes
0answers
25 views

Mvc post view result

HI im sitting here trying to make my first MVC application and im stuck the application is a rss reader i have made some checkboxes where you can pick diffrents sources off rss feeds and then click a ...
1
vote
2answers
56 views

changing href=“example” to href=“/example”

I have a model, which returns html from the database, and I need to change the links that don't have the forward slash (but obviously not touch the hard coded links with http: or already slashes) ...
2
votes
1answer
26 views

System.Delegate System.Reflection.MethodInfo.CreateDelegate(System.Type)

As best as I can tell, this error has occurred in the past when Ninject is and the target for the site package are 4.x and do not match each other. I have checked on my machine and they match - both ...
0
votes
2answers
30 views

MVC EditorFor model binding for multiple edit forms on one page

I have a class called CategoryModel, one of the properties of which is a list of objects of the same type. So CategoryModel.Categories is of type List<CategoryModel>. On the category index ...

1 2 3 4 5 80
15 30 50 per page