I have a button that causes a Gridview to be databound.
I'd like to display a Label saying "Please wait" while the Gridview is being bound.
So far I have:
ButtonApply.Attributes.Add("onclick", "return showLabel('" + LabelPleaseWait.ClientID + "')")
function showLabel(lab) {
document.getElementById(lab).style.display = '';
}
function hideLabel(lab) {
document.getElementById(lab).style.display = 'none';
}
How can I hide the label, on Gridview.DataBound? Or, I think doing it on PageLoad would also work.
I don't use a lot of java and don't know how to cause a function to be executed from my VB code, other than by adding an onclick attribute to a button.
Go to the complete details ...