Jul 21, 2011, 3:23 PM
[CLOSED] Closable Autohide Notification
Hello,
I am trying to add a close button in my autohide notification. Is it possible?
Thanks
I am trying to add a close button in my autohide notification. Is it possible?
Thanks
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
if (!X.IsAjaxRequest)
{
Notification.Show(new NotificationConfig
{
Title = "Title",
Icon = Icon.Information,
HideDelay = 2000,
Html = "testing 123",
Closable = true
});
}
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="ScriptManager1" runat="server" />
</form>
</body>
</html>
Last edited by Daniil; Jul 22, 2011 at 11:31 AM.
Reason: [CLOSED]