I have a modal extender called modal2 and when I call
$find('modal2').show();
It comes up with a classic error saying ‘null’ is null or not an object;
I searched google a bit and made all the related controls to be visible for testing purpose but it has not made any difference.
Any suggestions please?
Thanks.
Check the client ID; unless you are using clientIDmode of static, it would be something like:
ct100_contentplaceholder_modal2 and so you have to do:
instead to properly get the ID.
HTH.