logo       

Re: Getting a control's filename and location: msg#00089

windows.devel.dotnet.web

Subject: Re: Getting a control's filename and location

Excellent, thank you. While the GetType().Name also is a reasonable solution,
this seems more robust. If anyone is interested, I'm attempting to modify the
User Interface Process Application Block to support web user controls instead
of pages. I don't find the page method to be extremely useful in my case. This
will help with the conversion.

Brian

-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:DOTNET-WEB@xxxxxxxxxxxxxxxxxxx] On Behalf Of lizet peña
Sent: Monday, June 13, 2005 5:30 PM
To: DOTNET-WEB@xxxxxxxxxxxxxxxxxxx
Subject: Re: [DOTNET-WEB] Getting a control's filename and location

Dim actualServerPath As String = myControl.MapPath(myControl.Request.Path)

Something like this could be?

===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise