HomeActive Query BuilderAQB on page with jQuery already

AQB on page with jQuery already


Hello,

I am trying to install and use AQB on my ASP.NET web project. It works good, however, if I put the control on a web page with my master page, it returns javascript error. I believe the error occurs because the master page already included jQuery and UI, and AQB library tries to load jQuery again.

Is there any way to prevent jQuery from loading twice? We can drop jQuery loading from master page, but that is not preferred option for me.
Juyong | email
January 24 2012, 05:15 PM
Hello,

We've added the LoadQJuery option in version 0.5.12. Read this article for details: http://www.activedbsoft.com/helpdesk/index.php?pg=kb.page&id=68
Sergey Smagin | email
7 hours, 28 mins since original post
I added following line to appSettings, however, jQuery is being loaded automatically. Any idea?

<add key="LoadJQuery" value="false" />
Juyong | email
18 hours, 40 mins since original post
Have you updated to version 0.5.12?
Sergey Smagin | email
6 days, 3 hours since original post
I reinstalled 0.5.12 and the option is working.

Thank Sergey Smagin.
Juyong Jeong | email
6 days, 17 hours since original post
This topic is closed