Sunday, November 11, 2007

PopupControlExtender To Show On MouseOver

This is an example of how to do it. Set unique BehaviorID to PopupControlExtender and call showPopup/hidePopup with it:

<ajaxToolkit:PopupControlExtender ID="PopupControlExtender1" runat="server" BehaviorID="pce" ............... />

<asp:Panel onMouseOver="$find('pce').showPopup();" onMouseOut="$find('pce').hidePopup();" />


NOTE: If you use it in a user control that could be used more than once on a page - give unique BehaviorID to each one.

5 comments:

Parul1426 said...

Hi...
It's very usefull for me. I nuturing for this since a day. U solved my problem. thanks!

ExtremeHobo said...

Yeah a very nice and concise post, good work.

Unknown said...

Hi monika. Using a AnimationExtender will accomplish the same thing and give cool effects to make the web page prettier. :)

Unknown said...

Thank you, your code has helped me with a lost focus problem with the popupcontrol extender

satya said...

Good Post.
I have a requirement like show popupcontrolextender by clicking on link which is in grid row.
There is a some action links on this popup and code was written outside of grid for this action links.
At this point of view above javascript is not working for popextender. Please provide me any way. Thanks in advance

eXTReMe Tracker