CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 4/30/2005 8:48:24 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 38 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
christiantoivol
Asp.Net User
Getting path of usercontrol from object reference4/30/2005 8:48:24 PM

0

Hi,

I have a usercontrol that consists of a ascx file and its corresponding codebehind.

I want to be able to extract the path to the .ascx file itself programmatically at runtime from the UserControl, and after looking through the member info for System.Web.UI.UserControl, it doesnt seem like this is possible. Am I missing something?

Any pointers?

Regards,

Christian

 


Christian Toivola

Web Developer

Techknow Consulting Inc.
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Building Web Applications with C# and .NET: A Complete Reference Authors: Dudley W. Gill, Pages: 718, Published: 2002
Pro ASP.NET 2.0 Website Programming Authors: Damon Armstrong, Pages: 641, Published: 2005
Developing Microsoft ASP.NET Server Controls and Components Authors: Nikhil Kothari, Vandana Datye, Pages: 689, Published: 2002
ASP. NET 1.0 Namespace Reference with C# Authors: Jason Bell, Pages: 960, Published: 2002
Silverlight 2 Recipes: A Problem-Solution Approach: A Problem-Solution Approach Authors: Jit Ghosh, Rob Cameron, Pages: 400, Published: 2008
ASP.NET AJAX Programmer's Reference: With ASP.NET 2.0 Or ASP.NET 3.5 Authors: Shahram Khosravi, Pages: 1522, Published: 2007
Mastering Visual Basic.NET Authors: Evangelos Petroutsos, Pages: 1153, Published: 2002
Professional Web Parts and Custom Controls with ASP.NET 2.0 Authors: Peter Vogel, Pages: 449, Published: 2005

Web:
MasterPages & UserControls - object reference not set - .NET C# Aug 15, 2006 ... MasterPages & UserControls - object reference not set. Get answers to ... html tags I get the error System.NullReferenceException: Object ...
Master Pages and Usercontrols - object reference not set - .NET ASP Aug 14, 2006 ... Master Pages and Usercontrols - object reference not set. Get answers to your questions in our .NET ASP forum.
Load a usercontrol from a physical location rather than a virtual ... NullReferenceException: Object reference not set to an instance of an object. at System.Web.UI.BaseParser.MapPath(String path, Boolean ...
@ Reference This allows you to reference the external compiled object and its public members ... The second part of the code is a page that references the user control. ...
get user identity in user control Also, in case the object is already being referenced by the user control (which is likely) try creating it via it's full path name. ...
Accordion Issue -- Null object reference - ASP.NET Forums ... event occurs for the user control, I get a null object reference for the reportviewer ..... add verb="GET" path="ScriptResource.axd" type="Microsoft. ...
Null Object reference in form:select path value - Spring Community ... When the page loads I get an error: ... Is there no way in Spring to handle null object references in the form binding? I'm new to Spring, ...
CodeProject: WebParticles: Developing and Using Web User Controls ... CreateChildControls()RenderContents_Exception: Object reference not set .... To fix SharePoint SmartPart error : Could not open user control path: System. ...
Dot Net Tips & Tricks: Reference to a non-shared member requires ... Jul 29, 2008 ... And in the UserControl reference it with the object name ... NET) ยท How to get the full path of cookies folder using C.. ...
KBAlertz.com: (894438) - Describes a problem that occurs in ... You receive an "Object reference not set to an instance of an object" error message when you try to open a project that contains an inherited user control ...






web app projects & vss

resources namespace not showing up in intellisense in app_code classes

converting to asp.net 2.0 - meta tag question

tool bar items vanish when creating a web service in asp .net 2.0

log4net warning: could not find schema information for the element 'logger'

getting invalidcastexception using viewstate

1.1 - 2.0 migration issues

upgrade asp.net 1.1 to 2.0 get this error

asp.net 1.1 to asp.net 2.0 converter [vb.net to c# and inline code to code behind ]

problem with tracing in vs 2005

problem in adding controls dynamically to toolbox

what happened to the sln or vbproj file?

problem compiling 1.1 to 2.0 migrated project

asp.net 1.1 to 2.0 formatcurrency problem

covert vs 2003 to 2005

howto rewrite beta 1 to beta 2 partial class signatures (apr ctp)

problem and question with asp.net 2.0

problem with htmltextarea control's value property!

web services and namespaces

validation controls not working correctly

is the market ready?

referencing another web project

conversion error for july ctp release

asp.net 1.1 and 2.0 together, i know its possible, but is it safe?

.net 2.0 side by side with 1.1

tab position after refresh broken after update to beta 2

how to discover types in the assembly during startup of a .net 2.0 web app

changing host server framework 2.0 from framework 1.1

how to access a user control from a class

system.data.sqlclient.sqldataadapter.update not working at c#2005

   
  Privacy | Contact Us
All Times Are GMT