Hi
I have used a radsplitter,and inside radsplitter I have used a radslidingpane.
Hierarchy is likethis :
RadSplitter1
RadPane1
RadSlidingZone1
RadSlidingPane1
All my controls are inside the sliding pane.I have a button inisde the radsliding pane
My query is : I want to close the pane on a buttton click inside the radsliding pane.
How can I acheive this.
Please help me
Thanks,
A2H
I have used a radsplitter,and inside radsplitter I have used a radslidingpane.
Hierarchy is likethis :
RadSplitter1
RadPane1
RadSlidingZone1
RadSlidingPane1
All my controls are inside the sliding pane.I have a button inisde the radsliding pane
My query is : I want to close the pane on a buttton click inside the radsliding pane.
How can I acheive this.
Please help me
Thanks,
A2H
5 Answers, 1 is accepted
0
Accepted
Hi A2H,
Marin
the Telerik team
I have created and attached a sample page that demonstrates the required functionality. Please note a few details:
The "return false;" in the button handler declaration - it is used to prevent the postback.
The usage of server code to uniquely identify the elements would be useful in a more complex scenario.
All the best,Marin
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0

A2H
Top achievements
Rank 1
answered on 01 Mar 2011, 05:53 AM
Thanks Telerik Team,
Thats what exactly what I need.
Thanks for Your Support............
Thanks,
A2H
Thats what exactly what I need.
Thanks for Your Support............
Thanks,
A2H
0

Julie
Top achievements
Rank 1
answered on 07 Mar 2012, 09:26 PM
Hi, I have the same problem but, i do server side validation on the Click event and i just want close the panel only if the validation is succeed. I can i do this???
Julie
Julie
0
Hi Julie,
In this case you can simply inject the call to the JavaScript function from the server once your custom conditions are met. How to inject scripts from the server is explained in greater detail here.
Marin
the Telerik team
In this case you can simply inject the call to the JavaScript function from the server once your custom conditions are met. How to inject scripts from the server is explained in greater detail here.
Regards,
Marin
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0

Julie
Top achievements
Rank 1
answered on 09 Mar 2012, 04:48 PM
Thanks!
My problem was than i'm was not associate the first parameter of the function RegisterStartupScript to the good object.
My code is this and it works very well.
string script = "<script type='text/javascript'>FermerRechercheAvancee();</script>"; ;
ScriptManager.RegisterStartupScript(BtnRecherche, this.GetType(), "AppelFermerRechercheAvancee", script, false);
My problem was than i'm was not associate the first parameter of the function RegisterStartupScript to the good object.
My code is this and it works very well.
string script = "<script type='text/javascript'>FermerRechercheAvancee();</script>"; ;
ScriptManager.RegisterStartupScript(BtnRecherche, this.GetType(), "AppelFermerRechercheAvancee", script, false);