prevent radconfirm dragging.

2 posts, 1 answers
  1. Dan
    Dan avatar
    14 posts
    Member since:
    Jul 2013

    Posted 29 Nov 2013 Link to this post

    I am displaying a radconfirm from javascript and I want to prevent the user from dragging/moving the confirm window. Is it possible to restrict this?

    Thankyou
    dan
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 29 Nov 2013 Link to this post

    Hi Dan,

    RadConfirm have its own set of predefined behaviors that are not even affected by the RadWindowManager's settings. However you can use the RadWindow's Client API to alter these behaviors as shown in the following sample.

    JavaScript:
    var rconfirm = radconfirm("Your confirmation text?");
    //setting behavior to close.
    rconfirm.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close);

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top