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

Window Content Template Position

2 Answers 51 Views
Window
This is a migrated thread and some comments may be shown as answers.
Bruno Costa
Top achievements
Rank 1
Bruno Costa asked on 15 Aug 2012, 07:40 PM
Hi,

Inside Window, how can I put components that are in a panel align to left? Inside window, always they are in center position.

<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
        <Windows>
            <telerik:RadWindow ID="RadWindow1" runat="server" Modal="true" ">
                <ContentTemplate>
                 <asp:Panel ID="panTest" runat="server">
                <p>Test</p>
                </asp:Panel>
                 </ContentTemplate>
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>

The result is: 
___________________
|               Test              |
|                                    |
|__________________|

I would like:
___________________
|Test                             |
|                                    |
|__________________|

2 Answers, 1 is accepted

Sort by
0
Bruno Costa
Top achievements
Rank 1
answered on 15 Aug 2012, 07:46 PM
Yes, I could!

Other question: could I hide Maximize, Minimize and Refresh buttons?
0
Princy
Top achievements
Rank 2
answered on 16 Aug 2012, 04:16 AM
Hi Bruno Costa,

You can use Behaviors property to determine how the user can interact with the RadWindow object. Try setting Behaviors property of RadWindow to Close to achieve your scenario.

ASPX:
<telerik:RadWindow ID="RadWindow1" runat="server" Modal="true" Behaviors="Close">
</telerik:RadWindow>

Please take a look into this documentation for more information.

Hope this helps.

Regards,
Princy.
Tags
Window
Asked by
Bruno Costa
Top achievements
Rank 1
Answers by
Bruno Costa
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or