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

[Solved] set_Behaviors() doesn't work

1 Answer 126 Views
Window
This is a migrated thread and some comments may be shown as answers.
Elton
Top achievements
Rank 1
Elton asked on 18 Mar 2008, 01:03 AM
Hello,
When I open a radwindow I wanna set some behaviours by :

set_Behaviors(Telerik.Web.UI.WindowBehaviors.Close+Telerik.Web.UI.WindowBehaviors.Maximize+Telerik.Web.UI.WindowBehaviors.Move);

but it complains: "Telerik.Web.UI.WindowBehaviors" is undefined!

How can I use this function to set behaviours?

Thanx,
Elton

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 18 Mar 2008, 07:11 AM
Hi Elton,

The set_Behaviors() method is working as expected on our side and you are the first to experience problems with it. Can you please provide more information about your setup? Please note that if you are using the ASP.NET version of the RadWindow control (currently 1.9.4), you will not be able to set the behaviors with JavaScript - set_Behaviors() is a method of the "Prometheus" version of the control.

Please check the following code and try it on your side. If you still get the error, it will be best to open a support ticket and send us a small sample project where the problem can be reproduced. We will check it and do our best to help.



Kind regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
Elton
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or