Search

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

Matching Posts

  • Re: Issue in HandleUnknownAction method for custom Controller

    Thanks again for the feedback. So I agree with creating a new Controller class (let's call it AppController) derived from Controller and then define all of our application controller classes to in turn derive from AppController. It is in AppController we can utilize the HandleUnknownAction handler to operate as I expect. No problem with that. However, I seem to be missing the point of his demo now using this InterceptionController. Any thoughts?
    Posted to ASP.NET MVC (Forum) by IMarshal on 3/7/2008
  • Re: Issue in HandleUnknownAction method for custom Controller

    Thanks for the reply. If you watch the screencast I'm referring to you'll see that Scott derives the HomeController from the standard Controller class as opposed to the InterceptionController. Secondly, his code in the interception controller used a string comparison to throw an exception if you requested a specific action. While it was for example/screencast purposes, that would defeat the intention of the HandleUnknownAction method - call me if the user requested an Action which doesn't
    Posted to ASP.NET MVC (Forum) by IMarshal on 3/6/2008
  • Issue in HandleUnknownAction method for custom Controller

    I've just completed watching the Scott Hanselman screencasts of the new MVC release (congrads on the fast update!) and have encountered an issue with the HandleUnknownAction. Here's how you can reproduce the issue: 1) Modify Global.asax.cs adding the following line ControllerBuilder.Current.SetControllerFactory(typeof(Qubit.Controllers.InterceptingControllerFactory)); 2) Create a new file (I followed Scott's example) titled 'InterceptingControllerFactory.cs' in the Controllers
    Posted to ASP.NET MVC (Forum) by IMarshal on 3/6/2008
  • Re: Multiple instances of a GridView with Validation

    Thanks for the reply Joel. I've decided to try a different path and create the GridView programmatically instantiating an ITemplate class dynamically. So far the start looks pretty decent with the exception of dynamic control ID assignment. In my class which implements ITemplate I have code similar to the following in the InstantiateIn() method: public class NoDataTemplate : ITemplate , INamingContainer { public void InstantiateIn(System.Web.UI. Control container) { TextBox txtProductId = new
    Posted to Data Presentation Controls (Forum) by IMarshal on 11/14/2007
  • Multiple instances of a GridView with Validation

    I am required to display a single page which must be able to display <n> instances of a GridView and have encountered an issue with validation of the edit controls when a row is placed into edit mode. At this point I have two GridViews which are currently implemented as user controls (.ascx) for instantiation. Each of the GridViews is designed using Templates with EditTemplates for each editable column. I am also making using of the FooterTemplate to provide editable controls for insertion
    Posted to Data Presentation Controls (Forum) by IMarshal on 11/13/2007
  • Exception on loading an external COM DLL

    Would appreciate ideas on how to attack an ASP.Net 'Access is denied' exception. I am not entirely sure the cause of the issue. The entire exception message is displayed at the bottom of this message. I don't understand how it can be reporting an error on loading the ICSharpCode.SharpZipLib.DLL. The error is encountered on my development system and the production server. Thank you. Server Error in '/MyApp' Application. ---------------------------------------------------------
    Posted to Configuration and Deployment (Forum) by IMarshal on 7/30/2007
    Filed under: Access is denied
Page 1 of 1 (6 items)