CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Fancybox Modal and Update Panel

Print topic Send  topic

Author Message
ckroon

Posts: 869
Posted: 07/01/2013, 4:11 PM

I have been using FancyBox to open modal windows for quite a while now.. and it fails to work when the link that triggers the modal is inside an Update Panel.

Anyone have a workaround?

_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
Lucius

Posts: 220
Posted: 07/02/2013, 3:12 PM

Does it work when page is initially loaded, and then breaks down after at least one update panel refresh is done?

If so, you need to use the update panel onRefresh client-side event to re-initialize the fancybox.
View profile  Send private message
ckroon

Posts: 869
Posted: 07/03/2013, 2:00 AM

I cant get it to fire at all... :(
_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
Lucius

Posts: 220
Posted: 07/03/2013, 3:48 PM

Then maybe it's an issue with the library used for Update Panel and library used to write FancyBox.

I don't know what FancyBox is written in, however if it's jQuery you can check this out: http://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/

Especially the part where Prototype library is mentioned (as Update Panel is written in prototype).
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.