I currently have an asp.net /framework 4 / (VB) application.
One page has an AJAX timer control whose OnTick event is to run a subroutine which updates a value in a textbox. The subroutine takes the current value in the textbox as one of its arguments.
Textbox value = "0"
Sub fires with currentrecord=0
Does some processing
Increments textbox value by 1 (hopefully before Tick 2!)
Sub fires with currentrecord=1
Does some processing
Updates textbox value to 2 (hopefully before Tick 3!)
This subroutine varies in execution time typically between 2 and 10 seconds but potentially more. I've set the AJAX Timer to 20 seconds to ensure the sub runs in time but this can be very wasteful of time if a the sub completes long before the next timer tick.
How can I have an AJAX-like callback each time the previous sub completes and updates the textbox? I'd basically like this sub routine to repetitively fire until the textbox value does not change and update the textbox vlue in the browser each time.
I've tried adding an ontextchanged command to the the textbox but it appears to wait for the timer event.
More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.
ASP.Net to Oracle Connectivity
Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers to develop an ASP.NET client…
While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.
If your ASP.NET page …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365.
Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’
As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…