Search

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

Matching Posts

  • Re: Catchall in global.asax

    The astrix is what set up the catchall, so removing it wont do any good. Looks to be working in my preview 5 app, so take a look at where it is used, maybe put together a really basic controller or action for testing that just returns a Content(id)
    Posted to ASP.NET MVC (Forum) by csainty on 10/13/2008
  • Re: Validator Toolkit for ASP.NET MVC

    http://www.codeplex.com/MvcValidatorToolkit
    Posted to ASP.NET MVC (Forum) by csainty on 5/1/2008
  • Re: A word about html generation

    I will +1 on the line breaks at the top of the file, and in place of codeblocks. They are simply not needed and can cause problems. Not certain this is going to be something in scope of MVC though since they use the WebForms rendering engine.
    Posted to ASP.NET MVC (Forum) by csainty on 5/1/2008
  • Re: Validator Toolkit for ASP.NET MVC

    That piece of code pulls a string out of a resource file, it is a technique used often in localisation of applications. The sample site has an App_GlobalResources folder with a ValidationSet.resx resource file (also a german version). This is where the string comes from. The easiest way would be to replace that line with an error message eg "Please correct the following issues:" or you can create you own resource file and call error messages from it. The resource file is only used to display
    Posted to ASP.NET MVC (Forum) by csainty on 5/1/2008
  • Re: MVC and Treeview

    I used the Yahoo! interface library which includes a TreeView control. http://developer.yahoo.com/yui/ I am currently avoiding using any ASP.NET controls in MVC.
    Posted to ASP.NET MVC (Forum) by csainty on 4/30/2008
  • Re: How do I set a route to the root of a domain?

    This was not a problem in Preview 2, if they have broken something in the new release, I am sure it will be fixed. It certainly was possible to use the root and map it to your default Controller and Action. Can't speak for the preview of a preview drop, but its a bug if its broken.
    Posted to ASP.NET MVC (Forum) by csainty on 4/28/2008
  • Re: In MVC framwork - Component Vs UserControl

    [quote user="hudo"] But what's with bug in ComponentController, which throws an exception when you try to call it with some data from ViewData ( c=>c.ProductOrders(ViewData,SomeID) ), rather than passing constant ( c=>c.ProductOrders(1) ), described here . I cant figure out where to put described solution - RenderComponent method !? Can anybody help please? [/quote] I put a reply on my blog about it. I assume you are the same person who asked there. As per my response there, the
    Posted to ASP.NET MVC (Forum) by csainty on 4/28/2008
  • Re: MVC and Page LifeCycle

    I would like to see a seperate ViewEngine. Happy to keep the <% %> syntax, but there is so much extra stuff on the Page class that gets in the way for no good reason. I am sure they can pull the basic rendering functions of the current engine out and give us a replacement for the Page class.
    Posted to ASP.NET MVC (Forum) by csainty on 4/23/2008
  • Re: UpdateFrom problem

    http://forums.asp.net/t/1251044.aspx
    Posted to ASP.NET MVC (Forum) by csainty on 4/23/2008
  • Re: Am I forced to define multiple routes here?

    That route should call the method BlogController.Post(string post) If it is trying to assign the post title to an action, that is because the default route must be catching the request. You would need the above Route to be added before the default {controller}/{action} route. If it is before, then the Constraint must be stopping the route firing. I am not great with RegEx, so you will have to sort that one out. Also keep in mind the "catchall" route value, such as "Blog/{*post}"
    Posted to ASP.NET MVC (Forum) by csainty on 4/23/2008
Page 1 of 5 (49 items) 1 2 3 4 5 Next >