Feb 20, 2012, 12:59 PM
[CLOSED] Error when i click in Pin button of ext.net.Notification
Hi
I create on page_load event of my aspx page a notification message. When i click in pin button, raise a error.
In the messagebox is written: Run time error: The object don´t suport the property or method 'hide'.
Attachment 3843
What am I doing wrong?
Thanks for any help!
PS: https://examples2.ext.net/#/MessageB..._Notification/ don´t work.
PS2: Some notifications in https://examples2.ext.net/#/MessageB...tion/Overview/ don´t work.
Follow my example to reproduce the problem.
I create on page_load event of my aspx page a notification message. When i click in pin button, raise a error.
In the messagebox is written: Run time error: The object don´t suport the property or method 'hide'.
Attachment 3843
What am I doing wrong?
Thanks for any help!
PS: https://examples2.ext.net/#/MessageB..._Notification/ don´t work.
PS2: Some notifications in https://examples2.ext.net/#/MessageB...tion/Overview/ don´t work.
Follow my example to reproduce the problem.
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Teste10.aspx.vb" Inherits="WebApplication3.Teste10" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim ntf As Ext.Net.Notification
Dim ntfConf As Ext.Net.NotificationConfig = New Ext.Net.NotificationConfig
ntfConf.HideDelay = 8000 'close after 2 seconds
ntfConf.ShowPin = True
ntfConf.ShowMode = Ext.Net.ShowMode.Stack
'ntfConf.PinEvent = "mouseover"
ntfConf.Title = "BirthDay"
ntfConf.Icon = Ext.Net.Icon.Information
ntfConf.Html = "<b>Supera</b></br>Birth date: fev/25/1978</br><b><font color:blue>5 days</font>"
ntf = New Ext.Net.Notification()
ntf.Show(ntfConf)
End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<div>
</div>
</form>
</body>
</html>
Last edited by Daniil; Feb 20, 2012 at 1:49 PM.
Reason: Please use [CODE] tags, [CLOSED]