Search

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

Matching Posts

  • Re: MVC Ajax / Sys Failure in IIS7

    The solutiopn that you have provided works beautifully. The application executes out of the same physical directory whether it is running under the development web server or IIS 7. I think the fact that a virtual directory name is added to the path when executing from IIS that is not there when executing from the development web server is why the path is different between IIS7 and the development web server. I found that I needed to use the Url.Content helper for all of the file paths in the application
    Posted to ASP.NET MVC (Forum) by liaothomas on 11/25/2009
  • MVC Ajax / Sys Failure in IIS7

    I am encountering a problem with the Sys object when I move an MVC application from the dev web server to IIS 7 proper. I get the error, "Microsoft JScript runtime error: 'Sys' is undefined" on the statement, "Sys.Application.add_init(pageInit); in the Contact Manager tutorial 7 project as the published source. This is not a problem when launched from VS2008 into the development web server. The error occurs 100% of the time when served from IIS7 (localhost). I have encountered
    Posted to ASP.NET MVC (Forum) by liaothomas on 11/24/2009
    Filed under: ajax, Ajax MVC, ajax control toolkit, "ASP.NET MVC 1.0", "ASP.NET MVC v1.0"
  • Re: The resource cannot be found

    I have verified a work around for the apparent problem with putting a title attribute on an action link. Put the title attribute on a container for the action link. What I have done is to put it on the <li> list item tag for the main menu links (As seen on the auto generated site.master page in an MVC project). I had a set of stand alone action links. I added a <span> tag around each one and place the title attribute on the <span> tag. What this looks like is: < li title ="
    Posted to ASP.NET MVC (Forum) by liaothomas on 10/15/2009
    Filed under: routing, .net.3.5, Html.ActionLink, tip, actionlink, HTML Helpers, "ASP.NET MVC", asp net mvc, MVC routing 404 error, asp.net 3.5, .net mvc, asp.mvc MVC, MVC - bind custom class, asp.mvc, title attribute
  • Re: The resource cannot be found

    I changed the project profile to use a specific URL and then changed it back to Specific page with an empty text box. I have made a change to the site.master and the account controller. I have rebooted the machine and reloaded the project and rebuilt it. I am getting the error below or no change to the page when I try to follow most of the Html.ActionLinks in the site.master page. What seems consistent is that it is ignoring the controller in the action link and using the controller for the current
    Posted to ASP.NET MVC (Forum) by liaothomas on 10/14/2009
    Filed under: MVC, actionlink, Resource cannot be found
  • Re: Basic questions concerning the MVC framework overall

    With respect to a common form between new and edit, the best solution that I have seen is the use of a partial view. You can take all of the comon elements (logic and controls) and place them into a partial view. For the partial to appear on a page you use the Html helper method, RenderPartial("PartialViewName"). The partial view is contained in an ASCX file. The PartialViewName works the same way as view names (MyView.asmx for the same controller is View("MyView"). If the partial
    Posted to ASP.NET MVC (Forum) by liaothomas on 7/4/2009
    Filed under: Partial Rendering, MVC 1.0
Page 1 of 1 (5 items)