Search

You searched for the word(s): userid:484240

Matching Posts

  • Re: Web Forms controls and MVC (again)

    I posted my response on my blog: http://flux88.com/blog/leveraging-existing-asp-net-features-in-asp-net-mvc/#comment-5473 Hope this helps. -Ben
    Posted to ASP.NET MVC (Forum) by subdigital on 2/13/2009
  • Re: Open a ascx control popup window the MVC way?

    Your popup window needs to be a complete HTML document, so you shouldn't be using a user control for this. You won't use your master page of course, but just a plain MVC View Page. You'll need a controller & action to point to this. Let's say you have a link that you want to popup a window to show your privacy policy... The link: The script to wire up the popup behavior (jquery): $("a.popup").click( function(link) { window.open(a.href, "", "width=400;
    Posted to ASP.NET MVC (Forum) by subdigital on 2/2/2009
  • Re: Why and Where to use MVC ?

    +1 Chris... it is unbelievable how many misconceptions there are about the ASP.NET MVC Framework. One thing is for sure, it isn't for everyone, and that's fine. To the OP: The MVC framework is about separation of concerns. MVC is an old pattern, originating from the smalltalk community a few decades ago. It has become a popular paradigm for web development on many platforms including PHP, Ruby, Python, and Java. ASP.NET MVC is actually late to the game in this regard. In an MVC application
    Posted to ASP.NET MVC (Forum) by subdigital on 1/6/2009
  • Re: Username with a comma? (SqlRoleProvider)

    This needs to go through the role provider API, so short of writing my own provider, I don't think I can do this.
    Posted to Security (Forum) by subdigital on 9/11/2008
  • Username with a comma? (SqlRoleProvider)

    Using SqlRoleProvider, If I try to add a new role to a user (or any call with a username parameter), and the username contains a comma, I get this exception: System.ArgumentException: The parameter 'username' must not contain commas. Parameter name: username at System.Web.Util.SecUtility.CheckParameter(String& param, Boolean checkForNull, Boolean checkIfEmpty, Boolean checkForCommas, Int32 maxSize, String paramName) at System.Web.Security.SqlRoleProvider.GetRolesForUser(String username
    Posted to Security (Forum) by subdigital on 9/11/2008
    Filed under: SqlRoleProvider
  • Re: RFC - Removing ActionMethod property from Action Filter Contexts

    I think that's a no-brainer. Make the switch. It means decoupling yourself from implementation details (ie: getting action name from reflection) and improving the framework. The change on our end would be pretty small. Given the route values we could always reflect and get our own MethodInfo if we were totally dependent on it.
    Posted to ASP.NET MVC (Forum) by subdigital on 8/5/2008
  • Re: MVC JSon and JQuery Autocomplete

    the Json() method was added in Preview 3. It should work sufficiently for what you need.
    Posted to ASP.NET MVC (Forum) by subdigital on 7/14/2008
  • Re: How can I know currently exceuting controller and action in global.asax file.

    I wasn't suggesting tagging every single action and controller, just that you could tag a base class and be done with it. Sometimes this is acceptable.
    Posted to ASP.NET MVC (Forum) by subdigital on 7/11/2008
  • Re: HTML Actionlink with strong type and parameter

    If the commentID is from the HTML, then your controller probably knows about it while executing.... so you can just add it to ViewData and reference it in your actionlink call
    Posted to ASP.NET MVC (Forum) by subdigital on 7/11/2008
  • Re: Where should I place this code?

    Is FilePaper a core domain class? If so I'd place this in a separate assembly that doesn't have any dependencies on System.Web or other infrastructure. If it's just a DTO (data transfer object) used for displaying de-normalized/flattened data then I'd place it alongside your view data class in the Models folder.
    Posted to ASP.NET MVC (Forum) by subdigital on 7/11/2008
Page 1 of 44 (440 items) 1 2 3 4 5 Next > ... Last »