PDA

View Full Version : [CLOSED] Error when i click in Pin button of ext.net.Notification



supera
Feb 20, 2012, 12:59 PM
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'.
3843

What am I doing wrong?
Thanks for any help!

PS: http://examples2.ext.net/#/MessageBox/Notification/Client-Side_Notification/ donīt work.
PS2: Some notifications in http://examples2.ext.net/#/MessageBox/Notification/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>

Daniil
Feb 20, 2012, 1:16 PM
Hi,

This is a bug in DP1. Your example functions correctly with the latest code.



PS: http://examples2.ext.net/#/MessageBox/Notification/Client-Side_Notification/ donīt work.
PS2: Some notifications in http://examples2.ext.net/#/MessageBox/Notification/Overview/ donīt work.


Yes, thanks for the report. We have already fixed these issues.

The fixes are related to many things, so, unfortunately, I can't provide you with that fix. Please wait the next release.

supera
Feb 20, 2012, 1:46 PM
Ok! thanks.