This is a migrated thread and some comments may be shown as answers.

Close Modal RadDock (server side)

1 Answer 26 Views
Dock
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 14 Jun 2012, 04:15 PM
Hi there,

I am currently using the Modal RadDock popup example.  I have a save button that does some server side validation before saving to the database.  If the validation and save is successful, I would like to close the RadDock Modal popup.  Is there a way to close the RadDock via server side code?

Thanks
John

1 Answer, 1 is accepted

Sort by
0
Accepted
Slav
Telerik team
answered on 18 Jun 2012, 02:45 PM
Hello John,

You can close the RadDock control on the server-side by setting its property Closed to true:
RadDock1.Closed = true;


All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Dock
Asked by
John
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or