3.4.2 - SpeedCheck Customization (ASPX)

Top  Previous  Next

 

Prerequisites

 

READ THIS: This is advance users only, it is necessary to have ASP.NET (C#) coding and debugging experience before proceeding. Our technical support does not support modified source code, do the changes at your own risk.

 

Header and Footer

 

The files layout is shown in the following table.

 

Folders and Files

Description

[controls]

Header and Footer Controls

[documents]

License Agreement, SQL scripts

[download]

Stores the files to be downloaded

[include]

Style sheets and possible Javascript files

[images]

Images

[upload]

Upload files are written to this directory

Default.htm

Quick Start

SpeedCheck.aspx

Main file to hold the Java Applet

SpeedCheck.jar

Core Java Applet class file in JAR format

SpeedCheck_admin_report.aspx

Administration Report on Usage

SpeedCheck_labels.aspx

Customized labels

SpeedCheck_license.txt

License File

SpeedCheck_manual_upload.html

For testing use (see upload config section)

SpeedCheck_permission.aspx

To enable/disable SpeedCheck based on permission

SpeedCheck_report.aspx

Report on Session

SpeedCheck_statistics.aspx

Receive data and write stats to database

SpeedCheck_upload.aspx

Receive multi-part data and write to upload folder

Web.Config

ASPX Global Configuration File

 

 

In the /controls folder, there is Header.ascx and Footer.ascx that store the HTML  for the header graphics, navigation side bar and the footer. You can modify these 2 files for your own customization.

 

 

Without Header and Footer

 

If you do not want the Header and Footer, you can delete the following lines from the ASPX files. It is very straight forward.

 

<%@ Register TagPrefix="sc" tagname="Header" src="./controls/Header.ascx"%>

<%@ Register TagPrefix="sc" tagname="Footer" src="./controls/Footer.ascx"%>

 

<sc:Header id="Header" runat="server" />

<sc:Footer id="Footer" runat="server" />

 

 

Code can be deleted

 

In some files, you may see following block. Depending on your needs, it is optional, you may want to delete it.

 

 

<!-- ------------------ CAN BE DELETED (BEGIN) ------------------- -->

...................................

...................................

<!-- -------------------- CAN BE DELETED (END) --------------------- -->

 

 

Code cannot be deleted

 

When you do your customization, please make sure such script must be NOT BE DELETED.

 

<script language="javascript">

       

       // ---------- DO NOT REMOVE THIS JAVASCRIPT ------------

       // NOTE : This is for preventing "back button" from being pressed

       //

       // - If "Back" button is pressed from the reporting page, it

       //   resets Java Applet session but caching PHP page.  This

       //   would be very confusing to the users if "Back" button is allowed.

       // ---------- DO NOT REMOVE THIS JAVASCRIPT ------------                

               

       window.history.forward(-1);

</script>