Categories: ASP.NET, Controls Posted by AlexanderZeitler on 3/3/2005 9:06 PM | Comments (0)
Eben tauchte bei mir das Problem auf, dass ich den Pfad zu einem UserControl innerhalb eben dieses UserControls erhalten wollte - also praktisch die Info: "wo stehe ich (das UserControl) selbst im FileSystem?"

Lösung:

this.TemplateSourceDirectory

innerhalb des UserControls auslesen.

Currently rated 1.2 by 5 people

  • Currently 1.2/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Comments are closed