Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom Validator
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01057025
Message ID:
01058959
Vues:
35
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform