Click here to Skip to main content
15,893,161 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Dear All,

What is the purpose of declaring control like
protected System.Web.UI.WebControls.Button btnGo;
protected System.Web.UI.WebControls.TextBox txtValue;
at the top of the page class

Thanks and Regards,
A.Harisankar
Posted
Updated 11-Apr-11 18:40pm
v2

1 solution

I think, you are taking about the Designer file of a Page.

This Designer.cs is the one which maintains all the controls you place inside your ASPX file. The coolest page is, it is auto generated. It maintained the properties and few details about your controls.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900