开发者

ASP.NET AJAX GUI Toolkit

开发者 https://www.devze.com 2022-12-10 12:57 出处:网络
Anybody worked with Coolite toolkit? Ho开发者_如何学编程w to add a Coolite child control in a Coolite window?

Anybody worked with Coolite toolkit?

Ho开发者_如何学编程w to add a Coolite child control in a Coolite window?

In ASP.NET(C#) of course!!!


You put the controls in the <Body> element. Here is an example of a window with an accordion panel and in the first panel there is a color picker.

<ext:Window ID="Window1" runat="server" Title="Child Control Test" Height="300px"
    Width="500px" BodyStyle="padding: 6px; background-color: #fff;" Collapsible="True"
    Modal="True" Icon="Application">
    <Body>
        <ext:Accordion ID="Accordion1" runat="server" Animate="true">
            <ext:Panel ID="Panel1" runat="server" Border="false" Title="Item 1">
                <Body>
                Panel 1 Content
                <ext:ColorPalette ID="ColorPalette1" runat="server" Width="400" Height="200"></ext:ColorPalette>
                </Body>
            </ext:Panel>
            <ext:Panel ID="Panel2" runat="server" Border="false" Collapsed="true" Title="Item 2">
                <Body>
                Panel 2 Content
                </Body>
            </ext:Panel>
        </ext:Accordion>
    </Body>
</ext:Window>

Here is a screen shot of the result:

Coolite Window with Child Controls http://ryanscook.com/Files/CoolliteChildControl-screen1.jpg

0

精彩评论

暂无评论...
验证码 换一张
取 消