PDA

View Full Version : [CLOSED] ext:Notification - error when mouse over



supera
Feb 20, 2012, 2:10 PM
Hi!

In page_load event of my aspx page, I create a ext.net.notification message, with PinEvent = "mouseover".
When the mouse over the notification, this error is raised:
In the messagebox is written: Run time error: The object donīt support the property or method 'removeClass'.

3844

Am I doing something wrong or forgetting to set some property?
Thanks for any help!

To reproduced this problem, please, follow the example:


<%@ 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, 2:20 PM
Hi,

The error doesn't occur with the latest sources. Please wait the next release.

supera
Feb 20, 2012, 2:47 PM
Ok!
Thanks.