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:
01059250
Views:
26
Hi Ric,

thanks for the clarification. So what you are saying is webforms are created in VS (controls included) what would you edit in Dreamweaver? Also I did not understand your function DumpControl, when would you use it?

BTW I got it work! JavaScript (.js) and asp.net.

Thanks.

William

>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform