Monday, March 26, 2012

Proble with Accordion Control and user control

There is one problem with Accordion Conrol

I place use control in ContentTemplate of Accordion Control.

Now problem is that when Accordion Control load first HeaderTemplate Load then page load event of User control which i placed in ContentTemplate fire.

So this is problem.

Please help me.

Thanks in advance.

Not sure at what your trying to get at here, but see if this page helps.

http://asp.net/ajax/control-toolkit/live/Accordion/Accordion.aspx


Hi Piyushp,

piyushp:

Now problem is that when Accordion Control load first HeaderTemplate Load then page load event of User control which i placed in ContentTemplate fire.

It is normal to say so. Based on the order of execution, the inner contronl's pageLoad event will be occurred before the outer control(or container)'s.

Best regards,

Jonathan.

No comments:

Post a Comment