Search

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

Matching Posts

  • Re: How to avoid the Response.Redirect of the root request?

    so will it ever be possible to hit an mvc site with www.domain.com without it redirecting to www.domain.com/controller ?
    Posted to ASP.NET MVC (Forum) by jgo23 on 5/7/2008
  • Re: 404 - /Default.aspx

    Disregard... upon reading other posts, I found that Default.aspx now has a Response.Redirect("~/Home") in the Page_Load handler now! Sheesh.
    Posted to ASP.NET MVC (Forum) by jgo23 on 5/7/2008
  • Re: 404 - /Default.aspx

    I'm going to piggy back on this post because what I'm seeing is somewhat similar. The link from haacked.com certainly did explain why Default.aspx wasn't matching, however, I'm seeing something very odd, that I'm hoping someone has also ran across. Suppose that I set up ONE and only ONE route as such: routes.MapRoute( "Default" , "{controller}/{action}/{id}" , new { controller = "Home2" , action = "Index2" , id = "" }, new { controller
    Posted to ASP.NET MVC (Forum) by jgo23 on 5/7/2008
  • Re: Basic questions concerning the MVC framework overall

    I also had to attribue the containing form with "runat=server", as well. The view/controller still works and remains unaffected by doing this, however, after reading the link posted after yours, i think the reason why the non-asp.net input wasn't working for me was probably because I was missing the name attribute. I just tried this method and it does work, so probably just a good idea to stay away from the FileUpload server control (although, it seems to work just fine).
    Posted to ASP.NET MVC (Forum) by jgo23 on 4/6/2008
  • Re: Using HtmlHelper.Select

    [quote user="tgmdbm"]Yeah, that's not a good solution, jgo. [/quote] Not a good solution for the op's issue, or not at all? I think it works very well. I have my entire site structured so that any data that it needs is retrieved through the ViewData. I also have a class hierarchy of my ViewData classes, so if I had the same situation as you do, that you need the same list on multiple pages, then I could just move the property up the hierarchy. As I've mentioned in my previous
    Posted to ASP.NET MVC (Forum) by jgo23 on 3/11/2008
  • Re: Using HtmlHelper.Select

    For me, I'm not using the prompt property... I actually didn't know about it so great to know. But I populate a strongly-typed view data with my list of items from my controller, and then pass it into my view. I, too, have to populate it with an extra item, in my case, i have a list of timezones, so my default item says "Select a timezone". I insert that item from my controller, so that my view doesn't have to worry about it. In fact, I like doing it as so because the controller
    Posted to ASP.NET MVC (Forum) by jgo23 on 3/11/2008
  • Re: Simple REST question with my MVC app

    Awesome! Thanks for the info. I also started thinking of a concept of "sub controllers" as well, so that a url that looked like: Admin/Groups/Edit/1 would treat "Groups" as the actual controller. I started writing my own Handler and RouteHandler and then I realized I could've just done it with adding the appropriate entry in the Route table like so: Admin/Groups/[action]/[id] Default = new { controller = "Groups" ... I'm waiting impatiently for the gu to release
    Posted to ASP.NET MVC (Forum) by jgo23 on 2/22/2008
  • Simple REST question with my MVC app

    I'm trying to keep my web app as RESTful as possible.. and one way I'm doing that is ridding my urls with any verbs (something I read about what a RESTful app is) I'm building the administration part of my site, so I've built an AdminController, which then maps to the following url: /Admin Within the admin (landing page, Index action), I will have several things to administer, one of them is, let's say, Groups. Groups has become an action in my AdminController, which eventually
    Posted to ASP.NET MVC (Forum) by jgo23 on 2/22/2008
  • Re: Basic questions concerning the MVC framework overall

    Hi Mike (or maybe anyone else)... but have you tried out the snippet you provided (below)? [quote user="Mike343"] This is actually really simple. HTML (View) < form action= "" enctype= "multipart/form-data" method= "post" > < input name= "upload" type= "file" /> < br /> < input type= "submit" value= "Upload" /> </ form > C# (Action) HttpPostedFile upload = HttpContext.Current.Request.Files
    Posted to ASP.NET MVC (Forum) by jgo23 on 2/20/2008
  • Re: MVC + xxxProfileProvider... good idea?

    quite the opposite here.. things are a bit lax'ed here at work... sorry for the suckage at work :( Thanks for the tip on inheriting ProfileBase... I may think about that. The only reason why I began to even consider using the profile provider was because when i was playing around with community server a few years ago, I noticed their user profiles were defined in the web.config, which allowed other site developers using it to declare their own properties... well, plus it was on the MCPD exam
    Posted to ASP.NET MVC (Forum) by jgo23 on 2/19/2008
Page 1 of 3 (27 items) 1 2 3 Next >