jQuery call followed by clicking accordion control fires Ms Jscript error
I have jquery modal that works perfectly fine.
But after closing this modal and clicking on accordion control(MS ajax) fires
Jscript runtime error
Microsoft JScript runtime error: Sys.ArgumentTypeException: Object of type 'AjaxControlToolkit.AccordionSelectedIndexChangeEventArgs' cannot be converted to type 'Sys.CancelEventArgs'. Parameter name: instance
I have done days of searching. But I couldn't find a solution to this. I have tried scriptmode="Release". Single reference call to the jquery file.
I read some parts saying that some it helped some peopl开发者_运维知识库e to turn of smart navigation but I couldn't find how to do so.
If anyone has any idea on this it will be much appreciated.
Please.. Help~!
I've solved this issue by putting this
var $j = jQuery.noConflict();
at the end of my jquery.js file and referencing all jquery functions with a $j, instead of $
Ok I found the problem. One of the controls inside the container(div) which is loaded by jquery was throwing an error. So in this case, the error message did not help much to track that particular control down. Thanks a lot for your effort guys!.
精彩评论