PC Review


Reply
Thread Tools Rate Thread

AJAX ConfirmButton OnLoad

 
 
tlc@timchandler.net
Guest
Posts: n/a
 
      25th Sep 2007
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
page.

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?

Thanks!
Tim

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
ASP.NET AJAX samples... I am looking for help with HoverMenu AJAX Toolbox control. JDeats Microsoft ASP .NET 1 5th Oct 2007 08:50 PM
ASP.NET and AJAX: JavaScript files from the Microsoft AJAX Library Nathan Sokalski Microsoft ASP .NET 2 2nd Jun 2007 01:07 AM
ASP.NET AJAX Enabled Website Web.config error (newbie to AJAX) Tony K Microsoft ASP .NET 2 4th May 2007 05:23 AM
Deploying ASP.NET AJAX-Enabled Web site to host without AJAX insta =?Utf-8?B?QnJpYW4gRWR3YXJkcw==?= Microsoft ASP .NET 2 21st Feb 2007 10:22 PM
base.OnLoad called, OnLoad not executed Fabio R. Microsoft ASP .NET 0 25th Mar 2005 01:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:59 AM.