|
Getting a control's filename and location: msg#00074windows.devel.dotnet.web
I'm trying to figure out how to get a user control's filename from within the user control itself. The best I could do was: this.GetType().Assembly.Location The above only give the location of the currently loaded dll file that's in a test directory. I want the original path/name like mycontrol.ascx Any ideas? Brian =================================== 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> |
|---|---|---|
| Previous by Date: | Context.Cache Http Modules AuthenticateRequest: 00074, Robert Rolls |
|---|---|
| Next by Date: | working with a project on a remote web server: 00074, Alex Smotritsky |
| Previous by Thread: | Context.Cache Http Modules AuthenticateRequesti: 00074, Robert Rolls |
| Next by Thread: | Re: Getting a control's filename and location: 00074, Ayyappan Nair |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |