|
| Second code behind file to every .ascx file? |
 |
Mon, 24 Mar 2008 10:01:29 +000 |
Why is there a second codebehind file to every .ascx file on my Vista and Visual
Studio 2005 machine ? I have manually set up the dotnetnuke installation files
but when adding a module I have used the module kit installed in the VS2005 as a
template of some kind ... the templates that gets installed when installing the
.vsi kit ... but then I get the file DesktopModules/ModuleName1/Settings.ascx
and thats normal BUT behind that file there is 2 files: #
Settings.ascx.designer.vb # Settings.ascx.vb What is this all about? What do you
use the Settings.ascx.designer.vb file to ? /Johan
|
| Post Reply
|
| Re: Second code behind file to every .ascx file? |
 |
Mon, 24 Mar 2008 12:54:19 +000 |
These files are generated by Microsoft Visual Studio 2005. Do not modify these
files manually. Changes to these files might cause incorrect behavior and will
be lost if the code is regenerated.
The <Host Item>.designer.vb/.cs files (.vb for Visual Basic projects and
.cs for C# projects) are generated from the blueprint that is provided by the
<Host Item>.designer.xml files. These files contain generated code, such
as methods that initialize data binding and code to initialize host controls and
managed controls.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|