Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to expand Accordion when moving the mouse over its header?

0
Posted

How to expand Accordion when moving the mouse over its header?

0

We need to find all the header elements and attach mouseover event handler to each of them. For example, function pageLoad(){ for(var i=0 ; i<$find('MyAccordion_AccordionExtender').get_Count(); i++) { $addHandler($find('MyAccordion_AccordionExtender').get_Pane(i).header,"mouseover",AccordionMouse); } } Note: MyAccordion is the Accordion’s ID. AccordionMouse function will expand the corresponding AccordionPane. function AccordionMouse(sender,eventArgs) { $find('MyAccordion_AccordionExtender').set_SelectedIndex(sender.target._index); } Related thread: http://forums.asp.net/p/1179472/2009814.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123