Hi
I am using a radSplitter inside a UserControl
and I have a HTML button within this control which is used to CLOSE a Sliding pane
However the Javascript needs to find the RadSlidingZone inside the UserControl
Is there any way to do this? (I'm not a Javascript expert!)
Normally I would put the Java function after the BODY page element as follows
BUT this produces an compilation error because the Splitter is inside a userControl
<body>
<script type="text/javascript">
function ClosePane_SignIn()
{
var slidingZone = $find("<%= RadSlidingZone1.ClientID %>");
slidingZone.collapsePane("RadSlidingPaneSignIn");
}
Any help appreciated...
Regards
Martin
I am using a radSplitter inside a UserControl
and I have a HTML button within this control which is used to CLOSE a Sliding pane
However the Javascript needs to find the RadSlidingZone inside the UserControl
Is there any way to do this? (I'm not a Javascript expert!)
Normally I would put the Java function after the BODY page element as follows
BUT this produces an compilation error because the Splitter is inside a userControl
<body>
<script type="text/javascript">
function ClosePane_SignIn()
{
var slidingZone = $find("<%= RadSlidingZone1.ClientID %>");
slidingZone.collapsePane("RadSlidingPaneSignIn");
}
Any help appreciated...
Regards
Martin