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

prevent radconfirm dragging.

1 Answer 31 Views
Window
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 29 Nov 2013, 07:26 PM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 30 Nov 2013, 03:57 AM
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.
Tags
Window
Asked by
Dan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or