Incorporate Existing ASPX Pages into Iron Speed Designer Applications

There is absolutely no requirement that you build and compile your external application with Iron Speed Designer in order to integrate your external application with an Iron Speed Designer application.  However, in certain circumstances, you may find it convenient to do so.

Including external ASPX pages in your Iron Speed Designer project

To incorporate stand-alone ASPX pages into your Iron Speed Designer application, copy them into your Iron Speed Designer application’s folder.

If you are using the VBC or CSC compilers to compile your Iron Speed Designer application (set in the Application Wizard), there are no additional changes that need to be made.  Your external ASPX pages will be automatically compiled at run-time by the VBC or CSC compilers.

Adding external pages into Iron Speed Designer applications

You can place Iron Speed Designer created controls on pages in an external application.  This is a great way to add data-bound controls, such as a data-bound text box, field value, or table, into your existing application.

Step 1:  Place the external file into a subfolder of your Iron Speed Designer application, e.g.:

C:\MyApp\MyASPXPages

Step 2:  Rename the newly added file with an .ASPX file extension, even though it may be another page type, such as HTML or ASP.  Renaming the page to .ASPX allows Iron Speed Designer’s Application Explorer to recognize the page.

Step 3:  In Iron Speed Designer, select View, Refresh to display this new file in the Application Explorer.

Step 4:  Rebuild your application (Build, Rebuild All).

This external page will now be part of the Iron Speed Designer application.

Incorporating external ASCX controls into Iron Speed Designer-created ASPX pages

You can incorporate an external ASCX control and place this on an Iron Speed Designer created page.

Step 1:  Repeat the steps in the previous section.  However, rename the newly added file with an .ASCX file extension even though it may be another page type, such as HTML or ASP.

Step 2:  After creating a new ASCX control, go to Layout Editor and drag an Include ASCX Component from the Toolbox onto the page.  Name the component “Include”.

Step 3:  Use the Property Sheet to select (configure) the appropriate control file for the newly added Include ASCX Component.

Step 4:  Rebuild your application (Build, Rebuild All).  Note that if you do not select a file, the component will not have a binding saved and no code will be created for this control.  As such, these two steps are very important.

Your ASPX page should now be displayed with the same look and feel as the rest of your application.

See Also

Adding New Web Pages to Your Application

Linking Add, Edit, Show Record, and Table Report Pages

Adding Foreign Key Table and Look Up Table Pages

Integrating Web Pages into Existing Applications

Incorporate Existing ASPX Pages into Iron Speed Designer Applications