Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:751124
More Search Options
RSS Available
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)
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Channel 9:
BugCamSmash in Action!
Channel 9:
Virtual Earth Videomap Movies
TechNet Edge:
AD RMS Certificates and Licensing on the Client and the Server
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13 [C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13]
Channel 10:
Bing Launches 2nd Homepage Photo Contest
Channel 10:
Bing4Free Lets You Use Bing.com Images for Desktop Wallpaper
Channel 10:
Bing Updates: Streetside Views, Photosynth, and "Mapplications"
Channel 10:
Bing for Windows Mobile Updated
WindowsClient:
New WPF Showcase: Bling Tweets
WindowsClient:
Tale of two tweets - VS beta - is it busy 70% of the time or is it brilliantly fast?
TechNet Edge:
Forefront TMG URL Filtering and MRS
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online