- multitaskindicator.zip
- MultiTaskIndicator
- MultiTaskIndicator
- References
- Anthem.dll
- Sample
- App_Code
- App_Data
- BasicSample.aspx
- BasicSample.aspx.cs
- Bin
- Anthem.dll
- MultiTaskIndicator.dll
- MultiTaskIndicator.pdb
- ConcurrencySample.aspx.cs.exclude
- ConcurrencySample.aspx.exclude
- images
- ajaxloader.gif
- arrow.gif
- checked.gif
- Thumbs.db
- unchecked.gif
- Web.Config
|
function StartTask(index, gridViewID, imageID, imageURL, labelID, labelContent, currentColor)
{
if(document.getElementById(gridViewID + '_cancel').value == "true")
return;
if(imageID != "")
{
newImg = new Image();
newImg.src = imageURL;
var img = document.getElementById(imageID);
img.src = newImg.src;
}
if(currentColor != '')
{
rows = document.getElementById(gridViewID).rows;
rowIndex = parseInt(index) + 1;
rows[rowIndex].style.backgroundColor = currentColor;
}
if(labelID != "")
{
document.getElementById(labelID).outerHTML = labelContent;
}
Anthem_InvokeControlMethod(
gridViewID,
"StartTask",
[index],
function(result){}
);
}
function TaskFinished(index, gridViewID, imageID, imageURL, labelID, labelContent, currentColor)
{
if(labelID != "")
{
var label = document.getElementById(labelID);
label.outerHTML = labelContent;
}
if(imageID != "")
{
newImg = new Image();
newImg.src = imageURL;
var img = document.getElementById(imageID);
img.src = newImg.src;
}
//Change the backcolor
if(currentColor != '')
{
rows = document.getElementById(gridViewID).rows;
rowIndex = parseInt(index) + 1;
rows[rowIndex].style.backgroundColor = currentColor;
}
if(document.getElementById(gridViewID + '_cancel').value == "true")
return;
Anthem_InvokeControlMethod(
gridViewID,
"StartNextTask",
[parseInt(index) + 1],
function(result){}
);
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I've been developing .NET enterprise applications since 2000.
I am originally from Rio de Janeiro and I am currently working at http://www.intelligentcoder.com in Ontario.
I also have my own startup where we offer
client intake forms.