tooltip style as balloon for asp.net textbox control
-
I want to show tooltip for textbox control in balloon format. Is it possible? I searched on net,but there are examples for windows form.I want it should be on webform.
There is a validator call out control that comes with ajax control toolkit http://asp.net/AJAX/AjaxControlToolkit/Samples/ValidatorCallout/ValidatorCallout.aspx[^] or you can create a div and show it when ever you required near to the text box
Thanks Laddie Kindly rate if the answer was helpful
-
There is a validator call out control that comes with ajax control toolkit http://asp.net/AJAX/AjaxControlToolkit/Samples/ValidatorCallout/ValidatorCallout.aspx[^] or you can create a div and show it when ever you required near to the text box
Thanks Laddie Kindly rate if the answer was helpful
-
I want to show tooltip for textbox control in balloon format. Is it possible? I searched on net,but there are examples for windows form.I want it should be on webform.
Try: http://www.google.com/search?q=javascript+balloon+tooltip&rls=com.microsoft:en-US&ie=UTF-8&oe=UTF-8&startIndex=&startPage=1[^] I found a lot. Use one of those script, and you can build a custom control around it if you like , that gets as one of the properties the control it has to bind to.
-
Thanks for reply.. But i dont want to validate the control.I want simple tooltip for textbox.
Then why not create a div and put your content in that. eg:
Your tool tip content
(you may apply a background image or some more css to make it to the shape you want) now create two functions to show and hode this div function showToolTip() { document.getElementById("MytoolTip).style.visibility = "visible"; document.getElementById("MytoolTip").style.left = event.clientX+"px"; document.getElementById("MytoolTip").style.top = event.clientY+ "px"; } function hideToolTip() { document.getElementById("MytoolTip).style.visibility = "hidden"; } //Now register this two functions for your text box Hope this helps Thanks Laddie Kindly rate if the answer was helpful