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:476
More Search Options
RSS Available
Matching Posts
Re: How to get the Controller name and methods name from the request URL.
Try Following.. protected void Application_AuthenticateRequest(object sender, EventArgs e) { HttpContext context = ((HttpApplication)sender).Context; RouteData routeData = RouteTable.Routes.GetRouteData(new HttpContextWrapper(context)); string controllerName = routeData.Values["controller"]; string actionName = routeData.Values["action"]; }
Posted to
ASP.NET MVC
(Forum)
by
Jigar
on 7/17/2008
Filed under: RouteData
Re: How can I know currently exceuting controller and action in global.asax file.
@eVolve : Thanks, I am currently doing exactly same as you pointed, However my concern is about extra processing that RouteTable.Routes.GetRouteData is going to do. Since MVC is already doing this processing to select controller and excute action it would be better to use that information if its available. @Ben : Thanks for replay, But ActionFilter won't help in this situation, I want to apply logic across my application and it won't be practical to tag each action and controller.
Posted to
ASP.NET MVC
(Forum)
by
Jigar
on 7/11/2008
Filed under: RouteData
How can I know currently exceuting controller and action in global.asax file.
I want to perform some tasks based on currently executing Controller and Action in global.asax file. How can I get access to RouteData class in PrerequestHandlerExecute or any other event in global.asax.
Posted to
ASP.NET MVC
(Forum)
by
Jigar
on 7/11/2008
Filed under: RouteData
Re: compiling error in VS2008 on Vista Ultimate, related to web.config
Finally got it working. Thanks to this post.. Simple web site problem on Vista, related to <providerOption> had to apply following patch These patches are in the folder [cddrive]:\WCU\dotNetFramework\dotNetMSP\[x64 | x86] NetFX2.0-KB110806-v6000-x[64 | 86].msu BTW: If any body is interested my system config is OS: Vista Ultimate IIS Installed : YES Office Version : 2007 SQL Server : 2005 Prof
Posted to
Visual Studio 2008
(Forum)
by
Jigar
on 12/11/2007
Re: compiling error in VS2008 on Vista Ultimate, related to web.config
[quote user="bullpit"] Just to make sure, what target framework have you chosen for the application. If you are in IDE, you can check it by right-clicking the application name and then going to Project Pages and then to Build.[/quote] Target framework is 3.5, and as I said in above replay problem occurs only with 3.5 target and 3.5 specific code , if I switch back to 2.0 and my old 2.0 code it works fine. Looks like this problem is vista specific..
Posted to
Visual Studio 2008
(Forum)
by
Jigar
on 12/11/2007
Re: compiling error in VS2008 on Vista Ultimate, related to web.config
Facing same problem. Give same error as yours. However if I switch target to 2.0 its works with my old application, looks like its not identifying new versions of framework. Its really frustrating, having installed VS2008 since 2 weeks but can not use any of 3.5 features.
Posted to
Visual Studio 2008
(Forum)
by
Jigar
on 12/10/2007
Re: Multiline Textbox - Limit characters
you can validate length using regular expression validator, for more details check How to validate length of multiline textbox
Posted to
Web Forms
(Forum)
by
Jigar
on 12/4/2007
Filed under: Valdiation Controls, ASP.NET
Re: How can I write text vertically like in this picture?
Try this. How do I draw vertical text on image using GDI+? Graphics class does not have any method to directly draw vertical text on image, however you can draw regular text on image and rotate that image to display vertical text.
Posted to
System.Drawing/GDI+
(Forum)
by
Jigar
on 12/3/2007
Filed under: DrawString, GDI+
Re: Graphs
Try Create Exploded Pie Chart Having Click Through Functionality in C#
Posted to
System.Drawing/GDI+
(Forum)
by
Jigar
on 12/3/2007
Filed under: ASP.NET, Chart, gd+
Re: Getting coordinates from graphs on click
How to get co-ordinate of click Write text on position were user clicks Example of chart with click. Create Exploded Pie Chart Having Click Through Functionality in C#
Posted to
System.Drawing/GDI+
(Forum)
by
Jigar
on 5/29/2007
Filed under: Click, charts, GDI+
Page 1 of 94 (935 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Channel 9:
Life at Microsoft: Episode 3
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online