Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

move PopupControlExtender to mouse click location

$
0
0

Hi there,

I am building a Tool Tip user control that contains an image and a PopupControlExtender. Typically it'll be added to a text box and will provide tool tip information. I have it working but it isn't efficient when it's added to a repeater because one gets added for each row in the repeater (with associated javascript). The more rows there are, the poorer the performance.

It was suggested that I might try adding just one of my user controls to the page, hide it, and when the user clicks on an icon to pop up the tool tip, to move the control to the click location and display it. Unfortunately, I haven't had any luck dynamically associating the control with the image clicked or moving the control. I read somewhere that the PopupControlExtender couldn't be repositioned because it's location is set before the page is rendered. I thought maybe wrap the PCE around a DIV or something and moving it, but I haven't had any luck, either.

Has anybody successfully accomplished this or maybe have some hints to guide me in the right direction?

Thanks,

Carlo.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>