Feb 07, 2019, 3:16 PM
[CLOSED] QuickTips and QuickTipManager
Hello support team,
am I wrong if I expect the following code to work?
Thank you.
Kind regards
Dan
am I wrong if I expect the following code to work?
@using Ext.Net;
@using Ext.Net.MVC;
@{
ViewBag.Title = "QTip";
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<title>Ext.NET MVC Test Case</title>
<style>
.tooltip {
background-color: #fbf3db;
border-color: #9d9d9d;
}
</style>
</head>
<body>
@(Html.X().ResourceManager())
@(Html.X().Panel()
.BodyPadding(10)
.Border(false)
.Items(
Html.X().Button().Text("Test").Width(100).ToolTip("tooltip").ToolTipType(ToolTipType.Qtip)
)
)
</body>
</html>
<script type="text/javascript">
Ext.onReady(function () {
Ext.tip.QuickTipManager.init();
Ext.apply(Ext.tip.QuickTipManager.getQuickTip(), {
anchor: "top",
cls: "tooltip",
title: "tooltip_title"
});
console.log('QT', Ext.tip.QuickTipManager.getQuickTip());
});
</script>
I assume that using QuickTipManager, I should be able to configure and manage tooltips globally. Or did not I understand it?Thank you.
Kind regards
Dan
Last edited by fabricio.murta; Feb 12, 2019 at 1:30 PM.