This is a migrated thread and some comments may be shown as answers.

TypeError: $(...).kendoTooltip is not a function.

1 Answer 728 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Guillermo
Top achievements
Rank 1
Guillermo asked on 23 May 2013, 11:50 PM
Good day,

I am trying to use the new Kendo ToolTip, but I get this error on the JS console, I am using the latest version of KendoUIComplete, it is pointing to the right direction. I don't know that I am missing.
Do you have a clue of what is going on?

<script src="~/Scripts/vendors/kendo/js/jquery.min.js"></script>
<script src="~/Scripts/vendors/kendo/js/kendo.all.js"></script>
...
...
    <script>
                    $(document).ready(function() {
                        var tooltip = $("#tooltip").kendoTooltip({
                            autoHide: false,
                            showOn: "click",
                            position: "right",
                            filter: "div",
                            width: 300,
                            content: "abc"
                        }).data("kendoTooltip");
                    });
                        
            </script>
                <div class="title left">Customer details </div>
                @if (Model.ExternalId == null)
                {
                    <input class="button small right bottom" type="button" onclick="window.location.href = '/Customers/Edit?addressId=@Model.Id'" value="Edit location" />
                }
                else
                {
                    
                }
            </div>
            <div class="clear"></div>
            <div class="divisionLine"></div>
        </div>

        <div class="clear"></div>
    <div id="tooltip">
                <div id="target1" class="k-group">Target 1</div>
                <div id="target2" class="k-group">Target 2</div>
    </div>
....

Thank you.

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 24 May 2013, 08:21 AM
Hi Guillermo,

Unfortunately, it is not clear what may be the cause for the issue you have described. Thus, it will be appreciated if you could provide a small runnable sample in which this error can be observed locally.

Meanwhile, you could verify that the kendo.all.js file which is included has correct version by opening it and view the version number within the header.

Regards,
Rosen
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ToolTip
Asked by
Guillermo
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or