<
asp:Image
ID
=
"imgMain"
runat
=
"server"
/>
<
telerik:RadToolTip
ID
=
"RadToolTip2"
runat
=
"server"
TargetControlID
=
"imgMain"
Width
=
"400px"
RelativeTo
=
"Element"
EnableShadow
=
"true"
Position
=
"BottomCenter"
Animation
=
"Slide"
AnimationDuration
=
"300"
ShowDelay
=
"200"
Skin
=
"Vista"
HideEvent
=
"LeaveToolTip"
>
</
telerik:RadToolTip
>
Hi im using the RadToolTip as above.
Im also adding a Image inside the RadToolTip at runtime, the ImageUrl of this Image is set via my own custom Image Handler which is used within the site and works fine.
When the user hovers over 'imgMain' the RadToolTip should show the same image but at a different size, but all im getting is the RadToolTip showing the title.
If i hard code the Image Urls into the Image inside the RadToolTip is shows fine so i know its not a problem with my ImageHandler.
Is there any known issues with dynamically showing images from a Image Handler iside a RadToolTip?
My Server side code is below
imgMain.ImageUrl = String.Format(
"~/dbimagehandler.ashx?record=product&empty=showt&imageno=1&recno=-1&wid={0}&hgt={1}&productid={2}"
,
"188"
,
"196"
,
this
.ProductId)
imgMain.AlternateText = ds.Ds.Tables[
"Table"
].Rows[0][
"Title"
].ToString();
imgMain.ToolTip = ds.Ds.Tables[
"Table"
].Rows[0][
"Title"
].ToString();
RadToolTip2.TargetControlID = imgMain.ID;
Image imgsmall =
new
Image();
imgsmall.ImageUrl = String.Format(
"~/dbimagehandler.ashx?record=product&empty=showt&imageno=1amprecno=-1&wid={0}&hgt={1}&productid={2}"
,
"376"
,
"392"
,
this
.ProductId);
RadToolTip2.Controls.Add(imgsmall);
Any help on this would be mcuh apreciated.