Welcome! and rules
Joel on Software
Web User Control Filename Trick
Ever needed to look up the filename for a Web User Control? If your control is named "MyControl.ascx", then the following code inside of it:
Out of interest - why did you need to know the filename of the control?
I am developing a web app with dynamic menus, that is, the app's owner can add/remove any menu item at will.
put an id on the control. then the user can add multiple controls, etc.
+1 for IDs. That's what they're for. :)
Brad Wilson (dotnetguy.techieswithcats.com)
Yes, but those are hard coded
Fog Creek Home