[CLOSED] Error when i click in Pin button of ext.net.Notification

  1. #1

    [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.

    <%@ 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]
  2. #2
    Hi,

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

    Quote Originally Posted by supera View Post
    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.
  3. #3
    Ok! thanks.

Similar Threads

  1. Replies: 2
    Last Post: Mar 21, 2012, 11:06 AM
  2. [CLOSED] How I insert a button in ext.net.Notification?
    By supera in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Feb 20, 2012, 5:50 PM
  3. [CLOSED] ext:Notification - error when mouse over
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 20, 2012, 1:47 PM
  4. [CLOSED] Notification Js Error
    By majestic in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Dec 23, 2010, 7:59 AM
  5. [CLOSED] Notification: hide close button when AutoHide = false
    By jchau in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 16, 2009, 3:10 PM

Posting Permissions