Adding New Web Pages to Your Application

Go to:

Tools, Application Wizard…

Application Explorer, Right-Click, New, Page...

You may add new web pages to your application using either the Application Wizard or the Application Explorer.

Using the Application Wizard to create new pages

The Application Wizard is the easiest way to add new web pages to an existing Iron Speed Designer.  It shows you the available page types and knows exactly where and how to add them to your application.

You can return to the Application Wizard as often as you wish to add new sets of pages.  Oftentimes, developers will create similar sets of web pages for different user constituencies with different application generation options.

Using the Application Explorer to add pages

When you initialized your project, you provided Iron Speed Designer with a folder location where it creates your application.  That folder and its sub-folders contain the input files used to build your application.  You may place your pages in any sub-folder underneath your application’s main folder, for example:

...\<Application Folder>\Customers

Simply copy or move your page to an appropriate folder in your application’s folder.  Iron Speed Designer automatically recognizes pages placed here and makes them part of your application.

Including external ASPX pages in your Iron Speed Designer project

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.

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.

Referencing existing web pages from an application built with Iron Speed Designer

You can easily integrate applications built with Iron Speed Designer with your existing applications and web pages.  Because of the state-less nature of web programming, your existing application and an Iron Speed Designer application can operate as separate, independent applications, even though one may call into another via the URL mechanism inherent in all web applications.

An existing web application typically contains HTML, ASP, and JSP pages.  You can reference or “call” these existing pages from within your Iron Speed Designer application by adding URLs to these pages within your Iron Speed Designer application.  A simple URL might be:

<a href=”http://www.ironspeed.com/product_list.aspx”>See our fabulous products!</a>

A more complex reference might include parameters in the URL, e.g.:

<a href=”http://www.ironspeed.com/product_list.aspx?ID=Enterprise”>Enterprise Edition</a>

Place URLs to existing applications in the appropriate cell via the Layout Editor in Layout Editor.  Iron Speed Designer passes through to the ASPX page any content you add, so these URLs will be present in the final ASPX pages.

Referencing pages built with Iron Speed Designer within another application

Your existing applications can reference, or “call”, the ASPX pages created by Iron Speed Designer by adding URLs to your existing application pages.  A simple URL might be:

<a href=”http://www.ironspeed.com/ShowProductsTable.aspx”>See our fabulous products!</a>

A more complex reference might include parameters in the URL, e.g.:

<a href=”http://www.ironspeed.com/ShowProducts.aspx?ID=Enterprise”>Enterprise Edition</a>

See Also

Adding New Web Pages to Your Application

Adding Foreign Key Table and Look Up Table Pages