Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > AJAX ConfirmButton OnLoad

Thread Tools

AJAX ConfirmButton OnLoad
Posts: n/a
Hi there,

I'm new to the AJAX framework, and trying to find a way to do
something that perhaps is not part of the AJAX framework.

I have a data entry page that keeps allowing a user to enter a batch
detail record to the same batch master.

The user enters the detail record, saves, and then the page reloads to
allow the user to enter the next record. However, when the user
reaches a predefined number of records entered (say 50), the user is
prompted to stop entering records and to close out the batch, as the
batch shouldn't (but may) have more than 50 records.

Basically, what I want to have happen is, after a user enters 50
records, I want to reload the page, but immediately give the user an
option of closing the batch and navigating away from the data entry

Having looked over the AJAX controls, I want something that basically
displays a modal message and allows the user to choose option "X" (in
this case, "Exit Data Entry") or "Y" ("Cancel" would work here, though
something friendlier like "Continue entering batch data") would be
better). The ConfirmButtonExtender seems to sorta do what I want, but
I want to to show on page load, not when a user clicks on a control.

Is there a way to get ConfirmButtonExtender to do this, or is there
perhaps a better AJAX control I should use for this behavior?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
AJAX IDE and AJAX TOOL--The Release of JoyiStar AJAX WebShop 3 Beta minnie Java 1 12-13-2006 06:29 AM
onload -->* no onload marco Javascript 7 06-24-2006 08:39 PM
Why doesn't frameset onload event get called when each of the frames has an onload? Javascript 5 05-15-2005 01:58 PM
base.OnLoad called, OnLoad not executed Fabio R. ASP .Net 0 03-25-2005 01:21 PM
window.onload and body.onload differences David Otton Javascript 2 11-04-2004 04:34 PM