Where is the Designer Code in 2.0 go As in 1.1

  • Thread starter Thread starter MSDN
  • Start date Start date
M

MSDN

Hello,

Where can I find the following in 2.0

#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}


Thanks,

Sa
 
But where are they and can I view them physically without having to resort
to tricks( like view in browser by forcing a runtime error then view
detailed source. ).

Thank you,

SA
 
MSDN said:
But where are they and can I view them physically without having to resort
to tricks( like view in browser by forcing a runtime error then view
detailed source. ).

Thank you,

SA


The class you are looking for are generated at runtime or when you use
the asp.net pre-compiler utility. To view these classes you probably
would have to set debug="true" on that page and look in the Temporary
ASP.NET folders to find the source code. Just remember, you will not
see these classes in VS.NET
 
Back
Top