sheila_rt:
Button_kaisha.Attributes.Add("onclick", "document.body.style.cursor = 'wait';")
But nothing happens.
I am using asp.net and vb as code behind.
Any idea?
Hi,
Instead of providin the style to onclick, u can define ur entire page under a div tag or under a td tag and provide a valid name for the tags. In the aspx page u can define the style like ...
<Div name='name1' id='name1'>
<form>
... // ur page definitions goes here ...
....
</form>
</Div>
(or)
<Td name='name1' id='name1'>
<form>
... // ur page definitions goes here ...
....
</form>
</Td>
and define the style as ..
<Style>
Div:hover
{
this.style.cursor=wait;
}
Td:hover
{
this.style.cursor=wait;
}
</Style>
Hope this would resolve ur problem ...