Close Modal RadDock (server side)

2 posts, 1 answers
  1. John
    John avatar
    28 posts
    Member since:
    Mar 2010

    Posted 14 Jun 2012 Link to this post

    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?

  2. Answer
    Slav avatar
    1351 posts

    Posted 18 Jun 2012 Link to this post

    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,
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top