Editing ASPX Pages in Visual Studio .NET

Iron Speed Designer generates ASPX pages from their underlying HTML layout pages.  ASPX pages should not be edited in Visual Studio .NET because they may be overwritten when Iron Speed Designer rebuilds your application.  In fact, you may get an error message if you try to edit the page in Visual Studio .NET.

Iron Speed Designer uses a Layout Page File with an .HTML extension as the source file for your generated ASPX page.  This layout page file can contain HTML, ASPX, JavaScript, VBScript and anything else recognized by a web browser.  In addition, layout page files contain code generation tags that instruct Iron Speed Designer which controls to generated in the ASPX pages.  (Code generation tags start with the “GEN:” prefix.)  Iron Speed Designer replaces the code generation tags with .NET control tags and passes everything else to the resulting ASPX page.  Code generation tags are replaced with ASPX controls, so the resulting page is the original layout page file and the ASPX controls that replaced the code generation tags.

We recommend you do not edit ASPX pages generated by Iron Speed Designer in Visual Studio or in any other text editor.  Instead, we recommend you add any custom ASPX code and make any other modifications to the HTML layout page file.  Iron Speed Designer makes it easy to modify the layout page file using the built-in visual editor in the Design tab in Iron Speed Designer.

See Also

Working with Microsoft Visual Studio .NET