ModalPopupExtender w/ Slide.Show

Apr 12, 2008 at 7:15 PM
Has anyone had success using the Slide.Show within a ModalPopupExtender? Everything works correctly without the extender attached to the panel that contains the slide show, but I get an exception when I add the extension. If I had to guess I would say it has to do with the fact that it hides the panel using the style="display:none;" and thus looks to the control as if the container is 0 x 0.

Thanks You.


Apr 13, 2008 at 12:12 AM
Edited Apr 13, 2008 at 12:13 AM

Arcticus wrote:
Has anyone had success using the Slide.Show within a ModalPopupExtender? Everything works correctly without the extender attached to the panel that contains the slide show, but I get an exception when I add the extension. If I had to guess I would say it has to do with the fact that it hides the panel using the style="display:none;" and thus looks to the control as if the container is 0 x 0.

Thanks You.





Found the solution. My css file for the modalpopup had a width defined that was smaller than the width defined in the config.xml file.
Apr 13, 2008 at 6:47 PM
Thought everything was Ok but its not :(

Everything works in IE7 but Firefox gives the following error:

Bad NPObject as private data!
http://localhost:19927/testControl/slideshow/SlideShow.js
Line 7

this.control.host.content has no properties
http://localhost:19927/testControl/slideshow/SlideShow.js
Line 7

Any ideas? I downloaded the latest source code release hoping it fixed it but to no avail.