Contents

Introduction
Welcome
System requirements
Licensing details
What is the registration
Quick start guide
Using ASPRunnerPro
Working with projects
Navigation bar
Templates
What are templates
Cars
Classified ads
Events
Jobs
Knowledge base
News
Paypal
Real estate
Sporting
Vacation houses
Connecting to the database
Datasource tables
Master-detail relationship between tables
SQL query page
About SQL query designer
Query Designer
SQL
Results
Charts
Creating chart
Chart types
List of chart types
Accumulation chart
Area chart
Bubble chart
Column/Bar charts
Combined chart
Financial OHLC/Candlestick charts
Gauge chart
Line chart
Pie/Doughnut charts
Chart parameters
Chart appearance
Using SQL to shape chart data
Reports
Creating report and setting parameters
Report totals and layout
Choose pages
Choose fields
Fields order and totals
Miscellaneous settings
Security
Login page
User login settings
Advanced security settings
User group permissions
Dynamic permissions
Audit and record locking
Choose theme
Visual Editor
About
Toolbars
Page Elements
Adding ASP code snippet
Adding CAPTCHA
Insert button
Insert Google Map
"View as" settings
"View as" settings: Custom
"View as" settings: Map
"Edit as" settings
Validation types
Lookup wizard
Menu builder
Events
Output directory settings
After you are done
FTP upload
FrontPage Publishing
Advanced topics
Events
Predefined actions
Send a simple email
Send an email with new data
Send an email with old data
Save new data in another table
Save old data in another table
Insert a record into another table
Check if specific record exists
Display a message on the Web page
Redirect to another page
Sample events
Appearance
Add dropdown list box with values for search
Add foldable section
Change cell background color
Change row background color
Disable record editing
Hide controls on Add/Edit pages, based on logged user name
Redirect to details page after master record was added
Show data from master table on detail view/edit/add page
Show pop-up window
Make search button return data only when search value was entered
Database
Before deleting a record check if related records exist
Show list of customer orders
Select multiple values from checkboxes or a list field and have them appear as individual database entries
Update multiple records on the List page
Update multiple tables
Dynamic SQL query
Email
Email selected records
Send an email with updated fields only
Send mass email to all users
Upload
Check size and extension of uploaded files
Rename uploaded files
Upload files to users folders
Misc
Check if start date is ealier than end date
Speed up data entry using events
Save user data in session variables
Implementing 'single sign on' feature
Redirect to user info edit page
Global events
Login page
Before process
Before login
After successful login
After unsuccessful login
Before display
JavaScript OnLoad
Menu page
Before process
Before display
Register page
Before process
Before registration
After successful registration
After unsuccessful registration
Before display
JavaScript OnLoad
Change password page
Before process
Before change password
After password changed
Before display
JavaScript OnLoad
Remind password page
Before process
Before password reminder sent
After password reminder sent
Before display
JavaScript OnLoad
After application initialized
Menu item: Modify
Table events
Add page
Before process
Before record added
After record added
Before display
JavaScript OnLoad
Copy page
OnLoad
Edit page
Before process
Before record updated
After record updated
Before SQL query
Before display
JavaScript OnLoad
List page
Before process
Before record deleted
After record deleted
After group of records deleted
Before SQL query
Before record processed
After record processed
Before display
JavaScript OnLoad
Get Row Count
Custom Query
Custom record fetch
Report page
Before process
Before display
Before SQL query
JavaScript OnLoad
Chart page
Before process
Before SQL query
Before display
JavaScript OnLoad
Update chart settings
Printer-friendly page
Before process
Before SQL query
Before record processed
After record processed
Before display
JavaScript OnLoad
View page
Before process
Before SQL query
Before display
JavaScript OnLoad
Search page
Before process
Before display
JavaScript OnLoad
Import page
Before record inserted
Before import started
After import finished
Export page
Before process
Before SQL query
JavaScript OnLoad
Before record exported
After table initialized
Page life cycle overview
Common event parameters
Programming topics
ASPRunnerPro session variables
ASPRunnerPro templates
Data Access Layer
Debugging tips
How to calculate values on the fly
How to control Inline Add/Edit functionality from script
How to perform Add/Edit via SQL
Javascript API
Master-details relationships
runner_mail function
Template files processing rules (Files.txt)
Template language
Troubleshooting "Operation must use an updateable query" errors
Useful functions and links
Using JOIN SQL queries
Connecting to database
Connecting to MS Access database
Connecting to MS SQL Server database
Connecting to FoxPro database
Connecting to MySQL database
Connecting to Oracle database
Connecting to MS Excel database
Connecting to CSV or Text file
Publishing ASP application to the remote Web server
Using third party FTP client to publish ASP pages to the remote Web server
Using FrontPage to publish ASP pages to the remote Web server
Demo account
What is the Demo Account?
Terms and Conditions
Enterprise Edition
Online report/chart builder
Online report/chart builder v2.0 - Installation notes
Creating web report
Creating web chart
Internet Information Services (IIS)
How to add external css/asp/js files
ODBC
AJAX-based Functionality
Multilanguage support
Stylesheets
Rich Text Editor plugins
Web interface guide
Frequently Asked Questions
Error: Cannot update. Database or object is read-only
Error: Data provider could not be initialized
Error: Data type mismatch in criteria expression
Error: Invalid use of Null: 'Replace'
Error: I enter correct login and password but receive Invalid Login error. I use SQL Server.
Error: Login failed for user 'MACHINE_NAME\IUSR_MACHINE_NAME'
Error: Operation must use an updateable query.
Error: Row cannot be located for updating
Error: Specified driver could not be loaded due to system error 5 (Oracle in OraHome92)
Error: Syntax error in UPDATE statement.
Error: Syntax error in INSERT INTO statement
Error: The Microsoft Jet database engine cannot open the file (unknown).
Error: Too many fields defined
Error: Unable to open registry key 'Temporary (volatile) Jet DSN for process ...
How to work with Access database stored on the remote computer?
How can I add new ODBC Datasource
I cannot find ODBC Administrator applet on Windows 2000 machine
I cannot connect to my Excel (Access) database
Reserved Access, T-SQL, ODBC keywords.
Where can I download latest ODBC drivers
Order ASPRunnerPro online

 
Home
ASPRunner Professional 6.2 manual
Prev Page Next Page
 
 

AJAX-based Functionality

 

ASPRunnerPro comes with AJAX-based functionality added. Now you can search information more easily than ever with google-like auto-suggest feature. Web pages with AJAX driven dependent dropdown boxes are loaded faster. If you want to see details records you just need to mouse over the link, and you don't need to proceed to the Details page. Also new feature for lookup fields was added. Now you can choose the variant from suggest list which is refreshed each time while you are typing in the text box instead of searching through all values in the dropdown boxes.

Note: If for some reasons you don't want to use AJAX-based functionality then all you need to do is to change the useAJAX and suggestAllContent variables value in the Include\dbcommon.asp file to False.

useAJAX=false
suggestAllContent=false

AJAX-based Auto-Suggest

This feature comes in two versions and is enabled on the Basic and Advanced search pages. It is similar in fashion to that of Google Suggest using AJAX technologies.

Search suggest makes your site much more user friendly. To see how it will look like just begin to type in the search box.

The picture below demonstrates the search suggest feature on the basic search page:

On the Advanced search page search suggest looks like this:

By default, search suggest results include all values in which the search phrase presents. If you want to be shown only those values that begin with the search phrase you should change the $suggestAllContent variable value in the Include\dbcommon.asp file to False.

Note: if a field is not shown at least on one page (list/view/edit/export etc.), then the field values are not shown in search suggest results. This is done to secure the confidential data like passwords and credit card numbers.

AJAX-based dependent dropdown boxes

In ASPRunnerPro dependent dropdown boxes are AJAX Driven. Dropdown boxes content is loaded in the real time using AJAX technologies instead of loading all the content on the web page load. This means web pages are loaded more faster now.

Details Records Preview

In ASPPRunner you can see details records preview directly on the list page. All you need to do is to mouse over the link. The following picture demonstrates how the details preview looks like:

The number of records in the details preview is limited. Only first ten details are displayed. If there is an image in the details then only first five details are displayed.

More info about how to enable details records preview.

Lookup wizard as Edit box with AJAX popup

This feature is added to lighten the search among the large amount of data. Now you can choose the variant from AJAX popup which is refreshed each time you type in the text box, instead of searching through all the values in the dropdown boxes.

To turn on this feature, you should select the appropriate checkbox on the "Edit as" settings tab.

After you build your project, you can see how it works on the Edit, Add, and Search pages. When you begin to type in the edit box AJAX popup appears and you can choose the needed value from the suggest list. If you type in the text box the value which doesn't exist in the database and move to another form control then the border of the text box will change colour into red. When you correct the value, it will change back to usual.

If you try to submit the form with wrong value entered in the text box then the form will be submitted with the previous correct value entry.

AJAX-based pagination/sorting/search

To turn this feature on proceed to the Choose pages screen and click '...' button next to the List page check box. Then check off the AJAX search, pagination and sorting check box.

 

Converted from CHM to HTML with chm2web Standard 2.83 (unicode)