I notice the pointer changes to a thin line when I hover the mouse over the validation controls on my ASP web page.
Its doesnt bother me, except now, after I added some code to change the pointer to an hourglass .When a user cliks some button pointer chanegs to hourglass and after post back, the pointer chanegs back to an arrow but if i hover it over the validation controls it still shows up as an hourglass.
whats going on? Seems like the pointer is inherently coded to behave differently from the page default when hovering over the validation controls?
Here is the code I added:
// in the code behind
override protected void OnInit(EventArgs e)
{
....//
btnSubmit.Attributes.Add
("onclick", "javascript:hourglass();");
}
// the aspx page
<SCRIPT language="javascript">
function hourglass()
{
document.body.style.cursor = "wait";
}
Its doesnt bother me, except now, after I added some code to change the pointer to an hourglass .When a user cliks some button pointer chanegs to hourglass and after post back, the pointer chanegs back to an arrow but if i hover it over the validation controls it still shows up as an hourglass.
whats going on? Seems like the pointer is inherently coded to behave differently from the page default when hovering over the validation controls?
Here is the code I added:
// in the code behind
override protected void OnInit(EventArgs e)
{
....//
btnSubmit.Attributes.Add
("onclick", "javascript:hourglass();");
}
// the aspx page
<SCRIPT language="javascript">
function hourglass()
{
document.body.style.cursor = "wait";
}