I would like to suggest you try $('#<%= Master.pnl %>').slideDown("slow");
at first, plesae check if $('#<%= Master.pnl %>') can get the correct div object, and then apply slideDown effect.
JAYHAWKER
The following will show it but it doesn't slide down. var pnlRef = document.getElementById('<%= Master.pnl %>'); pnlRef.style.display = "inline";
in above code pnlRef can show div, but can not slide down, please try to remove pnlRef.style.display = "inline"; and add code to explicitly set the "top" and "left" of div, you can refer article below
Yanping Wang...
Star
14859 Points
1525 Posts
Microsoft
Re: How do I use the slideDown with a control that exists on the masterpage from javascript on a ...
Apr 09, 2012 03:15 AM|LINK
Hi JAYHAWKER,
I would like to suggest you try $('#<%= Master.pnl %>').slideDown("slow");
at first, plesae check if $('#<%= Master.pnl %>') can get the correct div object, and then apply slideDown effect.
in above code pnlRef can show div, but can not slide down, please try to remove pnlRef.style.display = "inline"; and add code to explicitly set the "top" and "left" of div, you can refer article below
http://forum.jquery.com/topic/jquery-effects-like-slidedown-that-leave-display-set-to-inline
Hope this helps, thanks.
Feedback to us
Develop and promote your apps in Windows Store