Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Validator
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01057025
Message ID:
01058959
Views:
30
Oh, I wan't clear - the web pages are created in VS, but I edit them afterwards in Dreamweaver. Make sure you do not use the grid layout option.... Just in case I added controls and forgot to declate them I use this code:
		private void DumpControls(Control c, int depth)
		{
			//Usage sample: DumpControls(this.Page, 0);


			if (c.ID != null)
			{
				for (int a = 1; a < depth; a++)
				{
					Debug.Write("");
				}
				Debug.WriteLine(c.ID, c.ToString());
			}
			foreach (Control subControl in c.Controls)
			{
				DumpControls(subControl, depth + 1);
			}
		}
It dumps a list of all instantiated control to the output window in debug mode.
Ricardo A. Parodi
eSolar, Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform