Search

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

Matching Posts

  • Concerns with new AJAX loader and MVC ajax

    The new on-demand loading system in Preview 6 is great, but has some drawbacks when interacting with the MVC AJAX library. Specifically, for MVC AJAX forms to work, quite a few ajax files need to be downloaded. Before we would just include the MicrosoftAjax.js and MicrosoftMvcAjax.js files and everything would be fine. Since MvcAjax requires various parts of the main AJAX code on every page with an MVC ajax form I have to manually include other scripts to get things to work. Is there a plan that
    Posted to ASP.NET AJAX Discussion and Suggestions (Forum) by Nairb on 10/29/2009
    Filed under: ajax, MVC, preview
  • Re: ActionLink generation issue with custom IRouteHandler

    The literal URL in this case is used as an endpoint for a blog's MetaWeblog service. My actual route looks like: routes.Add(new Route("metaweblog", null, new XmlRpcRouteHandler(container))); This adds the route with a specialized XmlRpcRouteHandler that in turn always returns back my MetaWeblogHandler. There is no controller to speak of in this instance, rather just a handler that intercepts all of the calls as XmlRpc and calls corresponding methods on my MetaWeblogHandler. Any thoughts
    Posted to ASP.NET MVC (Forum) by Nairb on 10/25/2009
  • Re: ActionLink generation issue with custom IRouteHandler

    Thanks, that works great.
    Posted to ASP.NET MVC (Forum) by Nairb on 10/25/2009
  • ActionLink generation issue with custom IRouteHandler

    I am having problems with the strongly-typed Html.ActionLink method when my routes are configured in the following manner. // Custom IRouteHandler route #1 routes.Add(new Route("simpleurl", null, new CustomRouteHandler()); // Custom IRouteHandler route #2 routes.Add(new Route("{controller}/{action}/{id}", AnotherCustomRouteHandler()) { Defaults = new RouteValueDictionary(new {controller = "Home", action = "Index", id = ""}), Constraints = new RouteValueDictionary
    Posted to ASP.NET MVC (Forum) by Nairb on 10/23/2009
    Filed under: route, Route conflicts, IRouteHandler
  • Using preview 6 application services without ScriptManager

    I'm trying to make use of the RoleService in an MVC project using the new preview 6 code and can't figure out how to properly initialize the scripts. I'm including the following files: MicrosoftAjaxCore.js, MicrosoftAjaxApplicationServices.js, MicrosoftMvcAjax.js Previously, the ScriptManager would emit script that would set the location of the role service like: Sys.Services._RoleService.DefaultWebServicePath = '/Role_JSON_AppService.axd'; It would then call Sys.Application.initialize
    Posted to ASP.NET AJAX Discussion and Suggestions (Forum) by Nairb on 10/21/2009
    Filed under: ajax, MVC, roleservice
  • Create action url from controller?

    I need to create an absolute Url to an action from within one of my controller actions. How can I go about doing this? The scenario here is for email. I need to generate a link that will go into an email pointing back at a specific action URL on the site. I can't hard code anything because this code is used on multiple sites. Is this possible? Thanks, Brian
    Posted to ASP.NET MVC (Forum) by Nairb on 7/8/2009
    Filed under: url
  • Re: Create action url from controller?

    Thanks, not sure how I missed that. I actually just found it looking through the MVC source.
    Posted to ASP.NET MVC (Forum) by Nairb on 7/8/2009
  • Re: Finding, editing, removing existing routes?

    I'm not sure how I missed that. Thanks.
    Posted to ASP.NET MVC (Forum) by Nairb on 5/11/2009
  • Finding, editing, removing existing routes?

    I'm trying to figure out how to go about finding an exsting route in my RouteCollection and manipulate it, delete it, etc. For example, is there any way to find a route based on its name? What I'd like to do is: var myRoute = routes.Single(r => r.RouteName == "MyRoute"); routes.Remove(myRoute); I can't find any way to do this. Is it possible?
    Posted to ASP.NET MVC (Forum) by Nairb on 5/11/2009
    Filed under: route
  • Re: Swap out master pages for views?

    Well that makes things simpler. I really would like to see improvements in the next version of MVC regarding this. My problem is that there's a disconnect between the hard-coded page directive master page and the ability of MVC to use an arbitrary master page passed into the View method. The two aren't necessarily related at all. It would be better if we could specify the master page within the directive as a simple string like "ThreeColumnMaster" just like we do with view names
    Posted to ASP.NET MVC (Forum) by Nairb on 2/2/2009
Page 1 of 9 (85 items) 1 2 3 4 5 Next > ... Last »