Hi,
I have this tooltip:
that allows you to upload your profile picture, or remove it. I wish that when I open the webpage if the image is not in the database, this tooltip appears automanticamente and that the "remove image" is disabled. However, if the image is loaded then the tooltip should not show but if you go above the image with the mouse then the tooltip to appear and must be enabled buttons.
all this should be done by code vb net, code behind because I can manage to code if the image is loaded or not.
I have this tooltip:
<
telerik:RadToolTip
ID
=
"RadToolTip1"
runat
=
"server"
TargetControlID
=
"Imgprofile"
ManualClose
=
"true"
Width
=
"140px"
Position
=
"MiddleRight"
Skin
=
"Simple"
RelativeTo
=
"Element"
>
<
telerik:RadButton
ID
=
"RadButton1"
runat
=
"server"
Text
=
"Carica foto"
Width
=
"130px"
ButtonType
=
"LinkButton"
Skin
=
"Office2010Silver"
>
<
Icon
PrimaryIconCssClass
=
"rbAdd"
PrimaryIconLeft
=
"4"
PrimaryIconTop
=
"4"
></
Icon
>
</
telerik:RadButton
>
<
hr
/>
<
telerik:RadButton
ID
=
"RadButton2"
runat
=
"server"
Text
=
"Rimuovi foto"
Width
=
"130px"
ButtonType
=
"LinkButton"
Skin
=
"Office2010Silver"
>
<
Icon
PrimaryIconCssClass
=
"rbRemove"
PrimaryIconLeft
=
"4"
PrimaryIconTop
=
"4"
></
Icon
>
</
telerik:RadButton
>
</
telerik:RadToolTip
>
that allows you to upload your profile picture, or remove it. I wish that when I open the webpage if the image is not in the database, this tooltip appears automanticamente and that the "remove image" is disabled. However, if the image is loaded then the tooltip should not show but if you go above the image with the mouse then the tooltip to appear and must be enabled buttons.
all this should be done by code vb net, code behind because I can manage to code if the image is loaded or not.