Hello!
I work with javascript google map api and would like to use radtooltips there when i click to some specified map position (marker). I handle click and call web service method where i try to create and show tooltip from code...
[WebMethod]
public void ShowToolTip(int locationId)
{
RadToolTip radToolTip = new RadToolTip();
radToolTip.ShowEvent = ToolTipShowEvent.FromCode;
radToolTip.RelativeTo = ToolTipRelativeDisplay.Mouse;
radToolTip.Position = ToolTipPosition.Center;
radToolTip.ShowDelay = 0;
radToolTip.Animation = ToolTipAnimation.Slide;
radToolTip.RenderInPageRoot = true;
radToolTip.Title = "fdfdf";
radToolTip.Text = "ffff";
radToolTip.Show();
}
Rad tool tip isn't showed in this case.
Please tell me is it possible to do something this way, without depending to some control. Because i can't link tooltip to some map position. Marker it's not an asp.net control, it doesn't have id, it's just like an icon.
I work with javascript google map api and would like to use radtooltips there when i click to some specified map position (marker). I handle click and call web service method where i try to create and show tooltip from code...
[WebMethod]
public void ShowToolTip(int locationId)
{
RadToolTip radToolTip = new RadToolTip();
radToolTip.ShowEvent = ToolTipShowEvent.FromCode;
radToolTip.RelativeTo = ToolTipRelativeDisplay.Mouse;
radToolTip.Position = ToolTipPosition.Center;
radToolTip.ShowDelay = 0;
radToolTip.Animation = ToolTipAnimation.Slide;
radToolTip.RenderInPageRoot = true;
radToolTip.Title = "fdfdf";
radToolTip.Text = "ffff";
radToolTip.Show();
}
Rad tool tip isn't showed in this case.
Please tell me is it possible to do something this way, without depending to some control. Because i can't link tooltip to some map position. Marker it's not an asp.net control, it doesn't have id, it's just like an icon.