[CLOSED] Linkbutton Tooltip in v2.0

  1. #1

    [CLOSED] Linkbutton Tooltip in v2.0

    I am currently using version 2.0 via the Nuget package in Visual Studio 2012. My project targets .NET runtime 4.0. When setting a tooltip on a linkbutton in this environment, ext is throwing an exception.

    Exception:
    Unhandled exception at line 18, column 887616 in http://localhost:58196/admin/extjs/e...js/ext.axd?v=0
    0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'dom': object is null or undefined

    The relevant line of source code (b.btnEl is null):
    b.btnEl.dom.setAttribute(b.getTipAttr(),c)

    Here is a simple example which should build and illustrate the problem:

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="TestApp.Test" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    
    <!DOCTYPE html>
    
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
            <ext:ResourceManager runat="server" ID="ResourceManager1" Theme="Gray" />
            <ext:Window runat="server" ID="Window1" Width="800" Height="600">
                <Items>
                    <ext:LinkButton runat="server" ID="lbTest" Text="Click!" Icon="Bin" ToolTip="Click Here">                    
                    </ext:LinkButton>
                </Items>
            </ext:Window>
        </form>
    </body>
    </html>
    Removing the tooltip property from the linkbutton causes the application to display the window / linkbutton correctly instead of blowing up.
    Last edited by Daniil; Nov 05, 2012 at 3:39 PM. Reason: [CLOSED]
  2. #2
    I cannot reproduce the issue with latest code
    Try to update from http://svn.ext.net/premium/branches/2.1 and retest
  3. #3
    Hi Vladimir,

    Thanks for the tip. Will the existing package be updated to 2.1 any time soon?
  4. #4
    Hi,

    Yes, it will be updated very soon.

Similar Threads

  1. [CLOSED] LinkButton with tooltip issue
    By Leonid_Veriga in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 07, 2012, 11:18 AM
  2. [CLOSED] underline LinkButton
    By majunior in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 03, 2011, 12:46 PM
  3. LinkButton Style
    By HzA in forum 1.x Help
    Replies: 0
    Last Post: Feb 08, 2011, 9:53 AM
  4. [CLOSED] Linkbutton - Tooltip issue
    By JonG in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 11, 2011, 7:35 AM
  5. [CLOSED] How to add a complex tooltip to ext:LinkButton
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Sep 23, 2010, 3:04 PM

Tags for this Thread

Posting Permissions