Search

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

Matching Posts

  • Re: Failing to pass parameter value to Controller

    The reason I said make a route with "socios/{action}/{numSocio}" was because if you use "{controller}/{action}/{numSocio}", then your next route "{controller}/{action}/{id}" won't be reached. You'd have to change your generic "id" to "numSocio" (if you've used that notation elsewhere of course).
    Posted to ASP.NET MVC (Forum) by nanexcool on 4/1/2008
  • Re: Failing to pass parameter value to Controller

    From what I can see, that route is wrong... The reason you are getting "numSocio" null is because the route that's matching is not the one you want, but "{controller}/{action}/{id}", and that when you go to /socios/lista/10, that 10 is being passed to "id". Solution: Your route with "ListaSocios.aspx" is wrong. Change it to: routes.Add( new Route ( "socios/{action}/{numSocio}" , new MvcRouteHandler ()) { Defaults = new RouteValueDictionary ( new
    Posted to ASP.NET MVC (Forum) by nanexcool on 4/1/2008
  • Re: Lowercase URLs

    [quote user="abombss"] You can create own extension method that delegates to one of the existing ones then calls .ToLower() on the return value. [/quote] Sounds good, I'll try that!
    Posted to ASP.NET MVC (Forum) by nanexcool on 1/14/2008
  • Lowercase URLs

    Any chance there will be a way to standarize URLs so that they are always lowercase? If I use HtmlAction, since my controllers start with a capital letter (CategoryController for example) and my actions also begin with capital (Show(int id)), the URL rendered is /Category/Show. I don't want to use lowercase in my classes and methods as this is kinda against standards. I know this is a purely aesthetic thing and it doesn't change how IIS treats URLs since it's case-insensitive (as far
    Posted to ASP.NET MVC (Forum) by nanexcool on 1/14/2008
  • Re: Change Membership config programatically?

    thanks, I'll check it out!! Looks like it's just what I was looking for!
    Posted to Security (Forum) by nanexcool on 12/2/2006
  • Change Membership config programatically?

    I know I can read properties from my Membership Provider like Membership .MinRequiredPasswordLength Is there a way to write a new value to it? Through the web.config file? I want to allow the site admin to change some values from an admin page, like Password Length, or required alphanumerical characters in passwords. Thanks
    Posted to Security (Forum) by nanexcool on 12/2/2006
  • AJAX + IIS7?

    Greetings. I'm using Windows Vista RC2 as my development machine. I'm programming a web app using AJAX Beta 2 + November CTP using Visual Web Developer Express. When I test the app using the local webserver of VWD, everything works fine. When I deploy to c:\inetpub\wwwroot\ AJAX stops working. I'm getting a js error that says 'Sys is undefined', which makes me think it's not loading Microsoft.Web.Extensions.dll. Anyone having this problem? BTW, I've deployed the app to another machine running Windows
  • Re: Ajax support by Web Hosts?

    As of Beta 1 and 2, the AJAX dll is part of the GAC, so a server admin needs to install it on the server, won't work like before where you had the dll in your bin dir. Basically, you'll have to wait till your host adds AJAX support, which probably won't be till the final version is released...
  • Re: ajax noob question

    Could you post some code from your page?
  • Re: More than one async callback

    This question is similar to an issue I had. The post and code sample is at http://forums.asp.net/thread/1435800.aspx Two update panels, two buttons. Delayed execution for testing purposes. Clicking one button then the other before the first callback completes cancels the callback and executes the other.
Page 1 of 3 (21 items) 1 2 3 Next >