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

[Solved] RadWindow and Behaviour

3 Answers 243 Views
Window
This is a migrated thread and some comments may be shown as answers.
cyberzed
Top achievements
Rank 2
cyberzed asked on 19 May 2008, 02:40 PM
I have been trying to get hold of my windows today and no matter if I set "InitialBehaviour" or "InitialBehaviours" it doesn't work at all and I get all options on the window shows. If I use "Behaviour" it all works according to my settings but then I get a fancy warning...

Chart.aspx(52,13): warning CS0612: 'Telerik.Web.UI.RadWindowBase.Behavior' is obsolete 

Configuration is as follows...

    <telerik:RadWindowManager ID="chartWindowManager" runat="server" Modal="True" ReloadOnShow="True" Overlay="True" 
        ShowContentDuringLoad="False" VisibleOnPageLoad="False" Behavior="Close, Move" VisibleStatusbar="False"> 
        <Windows> 
            <telerik:RadWindow ID="DateSelectorWindow" runat="server" ClientCallBackFunction="CallBackFunction" Width="240" Height="210"> 
            </telerik:RadWindow> 
            <telerik:RadWindow ID="ChartDetailsWindow" runat="server" Width="500px" Height="350px"> 
            </telerik:RadWindow> 
        </Windows> 
    </telerik:RadWindowManager> 
 

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 20 May 2008, 10:44 AM
Hello cyberzed,

Indeed, Behavior and InitialBehavior properties are obsolete - you can still use them, but you will get such warning and these properties will be removed at some point in the future.

I tried to reproduce the problem with InitialBehaviors however, but to no avail. Can you please check the attached video and let me know if I have missed something?



Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
cyberzed
Top achievements
Rank 2
answered on 20 May 2008, 01:44 PM
Try deleting

Behavior="Close, Move" 

And only use

InitialBehaviors="Close, Move" 
0
Accepted
Georgi Tunev
Telerik team
answered on 21 May 2008, 01:24 PM
Hello cyberzed,

Thank you for bringing this problem to our attention - I reproduced and logged it in our database. We will do our best to have it fixed for one of the following updates.


Your points were updated.


Kind regards,
Georgi Tunev
the Telerik team

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