asp.net - aspx.designer.cs how does it work? -


I'm really starting up so my question may look ridiculous. But, I wonder how the file Aspx.designer.cs works. This is the first time that I work with files containing .aspx.designer.cs for each page. So I understand that the controls used in .aspx for the back of the code are announced ..

Here's my question:

Sometimes due to solutions No.aspx.designer.cs files? (Does the files have been hidden or do not exist?)

I often have problems with these files, when I add something to the .aspx code, then I'm wrong on my own?

.aspx.designer.xx files are for bridge ASP.NET Webform code-rear files and any server controls on the .aspx markup files APPX markup page are shown here. The most important is the name and type of server control.

This, in part, allows Visual Studio to give User IntelliSense in code-behind page for server control created at design-time.

How it works: Visual Studio will generate

  protected global :: systems. Web .UI.WebControls.DropDownList DropDownlist 1;  

Note that. Designer files make a partial square This code-provides a link to the rear file. This way hooks between Intellisense .aspx and code-back.

You can revive your designer file:


Comments