Sep 17, 2015, 3:39 PM
[CLOSED] Help with ToolTip using Razor
Hi
There must be something very basic that I'm missing but I can't seem to get a ToolTip to work.
This is what I've tried. I'm expecting "v1.0.36" to be displayed when I hover over the control with the mouse, but nothing doing:
There must be something very basic that I'm missing but I can't seem to get a ToolTip to work.
This is what I've tried. I'm expecting "v1.0.36" to be displayed when I hover over the control with the mouse, but nothing doing:
<!DOCTYPE html>
<html>
<head>
<title></title>
<script>
</script>
</head>
<body>
@Html.X().ResourceManager().ScriptMode(Ext.Net.ScriptMode.Debug).SourceFormatting(true)
@(Html.X().FormPanel().ID("FormPanel").Layout(LayoutType.Anchor)
.Items(
Html.X().TextField().ID("TestControl").Margin(50).Width(100).Height(100).Text("Test")
)
.Bin(Html.X().ToolTip().Target("TestControl").Html("v1.0.36"))
)
</body>
</html>
using Ext.Net;
using Ext.Net.MVC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace ExtSandpit.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
}
}
Last edited by Daniil; Sep 18, 2015 at 12:19 PM.
Reason: [CLOSED]