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

How to make radalert,radconfirm non movable ?

2 Answers 83 Views
Window
This is a migrated thread and some comments may be shown as answers.
Somnath
Top achievements
Rank 1
Somnath asked on 12 Apr 2013, 12:12 PM
Hi,

I want radalert should be non movable

I have tried both ways explained in forum 

1. By not adding any behaviours in RadWindowManager tag in aspx

2 .By adding only close behaviour while calling radalert using its set_behaviours method.


Thanks ,
Somnath

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 15 Apr 2013, 12:12 PM
Hi Somnath,

The predefined dialogs (RadAlert, RadConfirm, RadPrompt) have their own set of behaviors that are not affected by the manager's settings. You can, however, use RadWindow's client-side API on each dialog to modify it after being shown, e.g.:
var oAlert = radalert("warning");
oAlert.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close);


Kind regards,
Marin Bratanov
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.
0
Duke
Top achievements
Rank 2
answered on 13 Dec 2013, 08:59 PM
Thanks so much.
Tags
Window
Asked by
Somnath
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Duke
Top achievements
Rank 2
Share this question
or