Sep 04, 2017, 10:12 AM
[FIXED] [#1541] [4.5.0] Imagebutton remains pressed after the click
Hi,
see my example, in Ext.Net 4.3 when I click the button it remains with the pressed image, I will click again and everything returns normal.
Thank you
Jimmy
see my example, in Ext.Net 4.3 when I click the button it remains with the pressed image, I will click again and everything returns normal.
Thank you
Jimmy
<%@ Page Language="C#" %>
<script runat="server">
protected void Button_Click(object sender, DirectEventArgs e)
{
X.Msg.Alert("Server Time", DateTime.Now.ToLongTimeString()).Show();
}
</script>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
<link href="/resources/css/examples.css" rel="stylesheet" />
</head>
<body>
<ext:ResourceManager runat="server" />
<ext:ImageButton
runat="server"
ImageUrl="button.gif"
OverImageUrl="overButton.gif"
DisabledImageUrl="disabled.gif"
PressedImageUrl="pressed.gif">
<DirectEvents>
<Click OnEvent="Button_Click" />
</DirectEvents>
</ext:ImageButton>
</body>
</html>
Last edited by fabricio.murta; Sep 13, 2017 at 3:16 AM.