When using a RadButton with icons, when the mouse is over the icon, it should display the PrimaryHoveredIconURL. Then when you move the mouse off of the icon it should change to the PrimaryIconURL.
This works fine in most cases. However if you have a client event on the button - OnClientClicked - that launches a RadAlert, when you move the mouse off the button to close the RadAlert, the icon does not change back to the PrimaryIconURL. So you are left with an icon that appears to be hovered. It 'fixes itself' once you move the mouse back over the icon and off it again.
An interesting not is that if you use a JavaScript alert instead of the RadAlert, it works as expected and the PrimaryIconURL is displayed. Both RadAlert and RadWindow have the same issue. Is there any way around this?
This works fine in most cases. However if you have a client event on the button - OnClientClicked - that launches a RadAlert, when you move the mouse off the button to close the RadAlert, the icon does not change back to the PrimaryIconURL. So you are left with an icon that appears to be hovered. It 'fixes itself' once you move the mouse back over the icon and off it again.
An interesting not is that if you use a JavaScript alert instead of the RadAlert, it works as expected and the PrimaryIconURL is displayed. Both RadAlert and RadWindow have the same issue. Is there any way around this?
<
telerik:RadButton
runat
=
"server"
ID
=
"btnAdvertiserSearch"
AutoPostBack
=
"false"
Skin
=
"Metro"
OnClientClicked
=
"openAlert"
>
<
Icon
PrimaryIconUrl
=
"~/resources/images/ui-icon-search.png"
PrimaryHoveredIconUrl
=
"~/resources/images/ui-icon-search_hover.png"
/>
</
telerik:RadButton
>
function
openAlert(sender, args)
{
radalert(
'a'
,
null
,
null
,
'b'
,
null
);
}