1-10 of 38 < Previous Next >
1 vote

Order of opperations in Action parameter validation seems wrong.

So today I ran into a something that seems like a bug to me. So here is the order of operations, first how they happened. Action: [CaptchaValidation] public void Login(string userName, string pa...

id# 282 | Planned Release: None | Last Updated: Mon at 8:07 PM  by nberardi
1 vote

SelectBuilder - Selected value comparison

In it's current form, to determine if the value currently being outputted is in the SelectedValues parameter, the key is first put ToString before comparing: string thisValue = HttpUtility.HtmlEnco...

id# 867 | Planned Release: None | Last Updated: Mon at 7:45 PM  by cmerat
1 vote

HttpRequestBase.UrlReferrer != HttpRequest.UrlReferrer

Mayor bug!! Controller.Request.UrlReferrer == System.Web.HttpContext.Current.Request.Url Should be: Controller.Request.UrlReferrer == System.Web.HttpContext.Current.Request.UrlReferer

id# 813 | Planned Release: None | Last Updated: Mon at 8:18 AM  by auriel
9 votes

Use Base Class in Master Page and Concrete Class in Child Page

Should be able to use a base class in Master Page and a concrete class in Content Page. Eg: public class BasicViewData { } public class SubclassViewData : BasicViewData { } public partial class ...

id# 136 | Planned Release: None | Last Updated: Sun at 8:31 PM  by alexthissen
8 votes

MV Controller UpdateFrom Checkbox issue

Hi, I have noticed an issue with UpdateFrom method if we try to update the check box form controls. With CheckBoxes the basic idea is to update the boolean value according to the chekced value of ...

id# 312 | Planned Release: None | Last Updated: Thu at 11:50 PM  by trasa
2 votes

Route.GetVirtualPath depends on the current RequestContext

Route.GetVirtualPath depends on the current RequestContext, WHY? if you call Route.GetVirtualPath and pass a RouteValueDictionary that has a Count property greater than RequestContext.RouteData.Va...

id# 750 | Planned Release: None | Last Updated: Thu at 7:28 PM  by jkingry
1 vote

Do NOT use Response.Redirect is the right way for SEO,REST

Apologies if this has been covered before, but I can't find a reference to it. You can find this issue in any projects created by the MVC0416. In the file "Default.aspx.cs" , there is a line of c...

id# 800 | Planned Release: None | Last Updated: May 7 at 7:25 AM  by shinyzhu
1 vote

BindingHelperExtensions.UpdateFrom doesn't generate PopulateException correctly

In case of conversion errors (e.g. updating a property of type Int32 with a String that can't be parsed to a number), the UpdateFrom method should generate a PopulateException that contains all con...

id# 783 | Planned Release: None | Last Updated: May 6 at 12:05 PM  by kasperp
3 votes

Html.RenderUserControl ViewData Not Allowed To Be Null

I just ran in to a problem today and was wondering about best practices. I am using the Html.RenderUserControl and my input happed to validly set the controlData to null. However when the RenderU...

id# 162 | Planned Release: None | Last Updated: May 6 at 4:13 AM  by jrnail23
1 vote
closed

ActionFilter -> ControllerFilter or even ApplicationFilter

It would be useful to have, next to the ActionFilter, also a ControllerFilter. Say I have a controller which contains 5 actions, and each action should be annotated with an action filter "Authentic...

id# 267 | Planned Release: None | Last Updated: May 5 at 12:04 AM  by eilonlipton

Configure View

Search
Sort by Id
Release
Title
Updated
Votes
1-10 of 38 < Previous 1 2 3 4 Next >
Updating...