亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? accordion.aspx

?? 一個包含AJAX所有功能的示例網站以及源代碼,非常好學習!
?? ASPX
字號:
<%@ Page
    Language="C#"
    MasterPageFile="~/DefaultMaster.master"
    AutoEventWireup="true"
    Inherits="CommonPage"
    Title="Accordion Sample"    
    Theme="SampleSiteTheme"%>
<%@ Register
    Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="ajaxToolkit" %>
<asp:Content ContentPlaceHolderID="SampleContent" Runat="Server">
    <ajaxToolkit:ToolkitScriptManager runat="server" ID="ScriptManager1" />
    <div class="demoarea">
        <div class="demoheading">Accordion Demonstration</div>
    
        <ajaxToolkit:Accordion ID="MyAccordion" runat="server" SelectedIndex="0"
            HeaderCssClass="accordionHeader" HeaderSelectedCssClass="accordionHeaderSelected"
            ContentCssClass="accordionContent" FadeTransitions="false" FramesPerSecond="40" 
            TransitionDuration="250" AutoSize="None" RequireOpenedPane="false" SuppressHeaderPostbacks="true">
           <Panes>
            <ajaxToolkit:AccordionPane ID="AccordionPane1" runat="server">
                <Header><a href="" class="accordionLink">1. Accordion</a></Header>
                <Content>
                    The Accordion is a web control that allows you to provide multiple panes and display them one at a time.
                    It is like having several <asp:HyperLink runat="server" NavigateUrl="~/CollapsiblePanel/CollapsiblePanel.aspx" Text="CollapsiblePanels" />
                    where only one can be expanded at a time.  The Accordion is implemented as a web control that contains
                    AccordionPane web controls. Each AccordionPane control has a template for its Header and its Content.
                    We keep track of the selected pane so it stays visible across postbacks.
                </Content>
            </ajaxToolkit:AccordionPane>
            <ajaxToolkit:AccordionPane ID="AccordionPane2" runat="server">
                <Header><a href="" class="accordionLink">2. AutoSize</a></Header>
                <Content>
                    <p>It also supports three AutoSize modes so it can fit in a variety of layouts.</p>
                    <ul>
                        <li><b>None</b> - The Accordion grows/shrinks without restriction.  This can cause other elements
                            on your page to move up and down with it.</li>
                        <li><b>Limit</b> - The Accordion never grows larger than the value specified by its Height
                            property.  This will cause the content to scroll if it is too large to be displayed.</li>
                        <li><b>Fill</b> - The Accordion always stays the exact same size as its Height property.  This
                            will cause the content to be expanded or shrunk if it isn't the right size.</li>
                    </ul>
                    
                </Content>
            </ajaxToolkit:AccordionPane>
            <ajaxToolkit:AccordionPane ID="AccordionPane3" runat="server">
                <Header><a href="" class="accordionLink">3. Control or Extender</a></Header>
                <Content>
                    The Accordion is written using an extender like most of the other extenders in the AJAX Control Toolkit.
                    The extender expects its input in a very specific hierarchy of container elements (like divs), so
                    the Accordion and AccordionPane web controls are used to generate the expected input for the extender.
                    The extender can also be used on its own if you provide it appropriate input.
                </Content>
            </ajaxToolkit:AccordionPane>
            <ajaxToolkit:AccordionPane ID="AccordionPane4" runat="server">
                <Header><a href="" class="accordionLink">4. What is ASP.NET AJAX?</a></Header>
                <Content>
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/images/AJAX.gif" AlternateText="ASP.NET AJAX" ImageAlign="right" />
                    <%= GetContentFillerText()%>
                </Content>
            </ajaxToolkit:AccordionPane>
            </Panes>
        </ajaxToolkit:Accordion>
        
        Fade Transitions: <input id="fade" type="checkbox" onclick="toggleFade();" value="false" /><br />
        AutoSize: <select id="autosize" onchange="changeAutoSize();">
            <option selected="selected">None</option>
            <option>Limit</option>
            <option>Fill</option>
        </select>
        
        <script language="javascript" type="text/javascript">
            function toggleFade() {
                var behavior = $find('ctl00_SampleContent_MyAccordion_AccordionExtender');
                if (behavior) {
                    behavior.set_FadeTransitions(!behavior.get_FadeTransitions());
                }
            }
            function changeAutoSize() {
                var behavior = $find('ctl00_SampleContent_MyAccordion_AccordionExtender');
                var ctrl = $get('autosize');
                if (behavior) {
                    var size = 'None';
                    switch (ctrl.selectedIndex) {
                        case 0 :
                            behavior.get_element().style.height = 'auto';
                            size = AjaxControlToolkit.AutoSize.None;
                            break;
                        case 1 :
                            behavior.get_element().style.height = '400px';
                            size = AjaxControlToolkit.AutoSize.Limit;
                            break;
                        case 2 :
                            behavior.get_element().style.height = '400px';
                            size = AjaxControlToolkit.AutoSize.Fill;
                            break;
                    }
                    behavior.set_AutoSize(size);
                }
                if (document.focus) {
                    document.focus();
                }
            }
        </script>
    </div>
    <div class="demobottom"></div>
    
    <asp:Panel ID="description_HeaderPanel" runat="server" style="cursor: pointer;">
        <div class="heading">
            <asp:ImageButton ID="Description_ToggleImage" runat="server" ImageUrl="~/images/collapse.jpg" AlternateText="collapse"  />
            Accordion Description
        </div>
    </asp:Panel>
    <asp:Panel id="description_ContentPanel" runat="server" style="overflow:hidden;">
        <p>
            The Accordion is a web control that allows you to provide multiple panes and display them one at a time.
            It is like having several <asp:HyperLink runat="server" NavigateUrl="~/CollapsiblePanel/CollapsiblePanel.aspx" Text="CollapsiblePanels" />
            where only one can be expanded at a time.  The Accordion is implemented as a web control that contains
            AccordionPane web controls. Each AccordionPane control has a template for its Header and its Content.
            We keep track of the selected pane so it stays visible across postbacks.
        </p>
        <br />
        It also supports three AutoSize modes so it can fit in a variety of layouts.
        <ul>
            <li><b>None</b> - The Accordion grows/shrinks without restriction.  This can cause other elements on your
                page to move up and down with it.</li>            
            <li><b>Limit</b> - The Accordion never grows larger than the value specified by its Height property.  This
                will cause the content to scroll if it is too large to be displayed.</li>
            <li><b>Fill</b> - The Accordion always stays the exact same size as its Height property.  This will cause
                the content to be expanded or shrunk if it isn't the right size.</li>
        </ul>
        <p>
            The Accordion is written using an extender like most of the other extenders in the AJAX Control Toolkit.  The
            extender expects its input in a very specific hierarchy of container elements (like divs), so the Accordion
            and AccordionPane web controls are used to generate the expected input for the extender.  The extender can also be
            used on its own if you provide it appropriate input.
        </p>
        <br />
        <p>
            The Accordion can also be databound.  Simply specify a data source through the <b>DataSource</b> or
            <b>DataSourceID</b> properties and then set your data items in the HeaderTemplate and ContentTemplate properties.
        </p>
    </asp:Panel>

    <asp:Panel ID="properties_HeaderPanel" runat="server" style="cursor: pointer;">
        <div class="heading">
            <asp:ImageButton ID="Properties_ToggleImage" runat="server" ImageUrl="~/images/expand.jpg" AlternateText="expand"  />
            Accordion Properties
        </div>
    </asp:Panel>
    <asp:Panel id="properties_ContentPanel" runat="server" style="overflow:hidden;" Height="0px">
        <p>The control above is initialized with this code. The <em>italic</em> properties are optional:</p>
<pre>&lt;ajaxToolkit:Accordion
    <em>ID</em>="MyAccordion"
    runat="Server"
    <em>SelectedIndex</em>="0"
    <em>HeaderCssClass</em>="accordionHeader"
    <em>HeaderSelectedCssClass</em>="accordionHeaderSelected"
    <em>ContentCssClass</em>="accordionContent"
    <em>AutoSize</em>="None"
    <em>FadeTransitions</em>="true"
    <em>TransitionDuration</em>="250"
    <em>FramesPerSecond</em>="40"
    <em>RequireOpenedPane</em>="false"
    <em>SuppressHeaderPostbacks</em>="true"&gt;
    <strong><em>&lt;Panes&gt;</em></strong>
        &lt;ajaxToolkit:AccordionPane
            <em>HeaderCssClass</em>="accordionHeader"
            <em>HeaderSelectedCssClass</em>="accordionHeaderSelected"
            <em>ContentCssClass</em>="accordionContent"&gt;
            &lt;Header&gt; . . . &lt;/Header&gt;
            &lt;Content&gt; . . . &lt;/Content&gt;
        &lt;/ajaxToolkit:AccordionPane&gt;        
        .
        .
        .
    <strong><em>&lt;/Panes&gt;</em></strong>            
    <em>&lt;HeaderTemplate&gt;...&lt;/HeaderTemplate&gt;</em>
    <em>&lt;ContentTemplate&gt;...&lt;/ContentTemplate&gt;</em>
&lt;/ajaxToolkit:Accordion&gt;</pre>
        <ul>
            <li><strong>SelectedIndex</strong> - The AccordionPane to be initially visible</li>
            <li><strong>HeaderCssClass</strong> - Name of the CSS class to use for the headers.  This can be either applied to the Accordion as a default for all AccordionPanes, or an individual AccordionPane.</li>
            <li><strong>HeaderSelectedCssClass</strong> - Name of the CSS class to use for the selected header.  This can be either applied to the Accordion as a default for all AccordionPanes, or an individual AccordionPane.</li>
            <li><strong>ContentCssClass</strong> - Name of the CSS class to use for the content.  This can be either applied to the Accordion as a default for all AccordionPanes, or an individual AccordionPane.</li>
            <li><strong>FadeTransitions</strong> - True to use the fading transition effect, false for standard transitions.</li>
            <li><strong>TransitionDuration</strong> - Number of milliseconds to animate the transitions</li>
            <li><strong>FramesPerSecond</strong> - Number of frames per second used in the transition animations</li>
            <li><strong>AutoSize</strong> - Restrict the growth of the Accordion.  The values of the AutoSize enumeration are described above.</li>
            <li><strong>RequireOpenedPane</strong> - Prevent closing the currently opened pane when its header is clicked (which ensures one pane is always open).  The default value is true.</li>
            <li><strong>SuppressHeaderPostbacks</strong> - Prevent the client-side click handlers of elements inside a header from firing (this is especially useful when you want to include hyperlinks in your headers for accessibility)</li>
            <li><strong>Panes</strong> - Collection of AccordionPane controls</li>
            <li><strong>HeaderTemplate</strong> - The Header template contains the markup that should be used for an pane's header when databinding</li>
            <li><strong>ContentTemplate</strong> - The Content template contains the markup that should be used for a pane's content when databinding</li>
            <li><strong>DataSource</strong> - The data source to use.  DataBind() must be called.</li>
            <li><strong>DataSourceID</strong> - The ID of the data source to use.</li>
            <li><strong>DataMember</strong> - The member to bind to when using a DataSourceID</li>
        </ul>        
    </asp:Panel>
    <asp:Panel ID="KnownIssues_HeaderPanel" runat="server" style="cursor: pointer;">
        <div class="heading">
            <asp:ImageButton ID="KnownIssues_ToggleImage" runat="server" ImageUrl="~/images/collapse.jpg" AlternateText="collapse"  />
            Accordion Known Issues
        </div>
    </asp:Panel>
    <asp:Panel id="KnownIssues_ContentPanel" runat="server" style="overflow:hidden;">
        <p>
            The AutoSize "Limit" mode works exactly the same as the "Fill" mode for Internet Explorer 6 and 7 because
            they do not support the max-height CSS property.
        </p>
        <br />
        <p>
            If you place the Accordion inside a &lt;table&gt; tag and have FadeTransitions set to true in
            Internet Explorer 6, it will affect the spacing between Accordion Panes.
        </p>
        <br />
        <p>
            Also, when viewing the demo in Internet Explorer 6, maximizing the browser at higher resolutions
            like 1600 x 1200 will cause the transitions to animate slower than at lower resolutions like 1280 x 1024.
        </p>
    </asp:Panel>    
    <ajaxToolkit:CollapsiblePanelExtender ID="cpeDescription" runat="Server" 
        TargetControlID="description_ContentPanel"
        ExpandControlID="description_HeaderPanel"
        CollapseControlID="description_HeaderPanel"
        Collapsed="False" 
        ImageControlID="description_ToggleImage" />
    <ajaxToolkit:CollapsiblePanelExtender ID="cpeProperties" runat="Server" 
        TargetControlID="properties_ContentPanel"
        ExpandControlID="properties_HeaderPanel"
        CollapseControlID="properties_HeaderPanel"
        Collapsed="True" 
        ImageControlID="properties_ToggleImage" />
    <ajaxToolkit:CollapsiblePanelExtender ID="cpeKnownIssues" runat="Server" 
        TargetControlID="KnownIssues_ContentPanel"
        ExpandControlID="KnownIssues_HeaderPanel"
        CollapseControlID="KnownIssues_HeaderPanel"
        Collapsed="False"
        ImageControlID="KnownIssues_ToggleImage" />        
</asp:Content>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美在线免费观看视频| 欧美激情在线一区二区三区| 欧美精品一区二区三| 国产精品久久久久久久裸模| 日本免费在线视频不卡一不卡二| 成人v精品蜜桃久久一区| 欧美一区二区三区啪啪| 亚洲视频图片小说| 国产成人精品一区二| 欧美精品v国产精品v日韩精品 | 亚洲视频一区二区在线| 麻豆精品一区二区三区| 欧美日韩免费在线视频| 国产精品福利av| 国产精品一级片| 日韩精品一区二区三区中文精品| 艳妇臀荡乳欲伦亚洲一区| 成人精品免费视频| 亚洲国产经典视频| 国产精品996| 久久嫩草精品久久久精品一| 精彩视频一区二区| 日韩欧美激情在线| 免费成人性网站| 欧美一区二区三区在线视频 | 亚洲精品日韩专区silk| 懂色av中文一区二区三区| 精品福利av导航| 韩日欧美一区二区三区| 日韩女优av电影在线观看| 免费观看在线综合| 日韩欧美成人一区二区| 视频在线在亚洲| 欧美一区二区三区免费大片| 蜜臀久久99精品久久久画质超高清 | 欧美一区二区大片| 天天色天天操综合| 7777精品伊人久久久大香线蕉超级流畅| 亚洲欧美激情插| 色狠狠色噜噜噜综合网| 亚洲成人av一区二区三区| 欧美日本高清视频在线观看| 婷婷综合另类小说色区| 日韩一区二区三区观看| 国内精品伊人久久久久av影院| 精品国产精品一区二区夜夜嗨| 久久se精品一区二区| 精品精品国产高清一毛片一天堂| 蜜臀精品一区二区三区在线观看 | 久久嫩草精品久久久精品一| 国产成人一区在线| 中文字幕五月欧美| 91麻豆免费看| 免费人成在线不卡| 2021久久国产精品不只是精品| 高潮精品一区videoshd| 亚洲色图清纯唯美| 欧美一区二区三区免费在线看| 韩国午夜理伦三级不卡影院| 国产精品丝袜一区| 欧美专区日韩专区| 精品一区二区三区免费播放| 国产精品国产三级国产aⅴ中文 | 色欧美乱欧美15图片| 午夜精品久久久久久| 久久这里只有精品视频网| 99re66热这里只有精品3直播| 亚洲国产日韩a在线播放| 日韩午夜激情免费电影| 成人黄色777网| 日韩精品乱码免费| 日韩伦理av电影| 日韩三级免费观看| 91丨porny丨国产| 九九精品一区二区| 中文字幕综合网| 欧美精品一区二区三区四区| 成人午夜免费av| 免费观看成人av| 亚洲精品成人a在线观看| 日韩免费视频线观看| 99久久er热在这里只有精品66| 日韩不卡一二三区| 一区二区三区在线观看网站| 精品国产免费人成电影在线观看四季| av动漫一区二区| 国内精品伊人久久久久av一坑| 婷婷开心激情综合| 中文字幕在线不卡| 看电视剧不卡顿的网站| 国产精品国产自产拍高清av | 一本色道久久加勒比精品| 日韩中文字幕1| 亚洲黄色免费网站| 国产亚洲欧美一区在线观看| 欧美一区二区免费视频| 91久久香蕉国产日韩欧美9色| 国产高清视频一区| 久久国产精品免费| 麻豆一区二区99久久久久| 亚洲成av人影院| 亚洲综合图片区| 亚洲精品免费看| 中文字幕亚洲一区二区av在线 | 99热99精品| 懂色一区二区三区免费观看 | 青青青伊人色综合久久| 亚洲一区免费观看| 一区二区不卡在线播放 | 日韩一区在线看| 欧美—级在线免费片| 久久精品一二三| 国产精品午夜春色av| 国产婷婷色一区二区三区四区| 亚洲精品一区二区三区精华液| 日韩精品中文字幕一区| 久久午夜老司机| 国产日韩欧美电影| 国产精品另类一区| 中文字幕中文字幕一区二区| 国产精品久久久久久妇女6080 | 国产精品女同一区二区三区| 2021久久国产精品不只是精品| 2023国产精品自拍| 国产日韩欧美精品在线| 成人免费视频在线观看| 亚洲天堂精品视频| 亚洲一区在线观看免费观看电影高清| 亚洲va欧美va天堂v国产综合| 无码av免费一区二区三区试看| 蜜桃视频在线观看一区| 高清在线不卡av| 色偷偷久久一区二区三区| 欧美日韩精品欧美日韩精品一综合| 欧美精品久久天天躁| 久久久久久99久久久精品网站| 国产精品欧美一级免费| 亚洲成人在线免费| 久久国产福利国产秒拍| 成人免费看视频| 欧美日韩国产综合一区二区| 精品国产乱码久久久久久免费| 国产精品家庭影院| 免费成人美女在线观看| 成人自拍视频在线观看| 欧美日韩免费高清一区色橹橹| 欧美xxxxx裸体时装秀| 亚洲欧洲日产国码二区| 视频一区在线播放| 成人不卡免费av| 欧美一区二区免费| 亚洲日本一区二区三区| 久久99精品国产91久久来源| av色综合久久天堂av综合| 欧美高清激情brazzers| 国产精品亲子乱子伦xxxx裸| 日韩在线a电影| 99这里只有精品| 日韩免费性生活视频播放| 亚洲免费观看高清完整版在线观看熊| 天天色综合天天| 色婷婷av一区二区三区gif| 日韩免费看的电影| 洋洋av久久久久久久一区| 国产一区二区调教| 538在线一区二区精品国产| 亚洲欧美色一区| 成人av电影免费在线播放| 日韩欧美成人午夜| 日韩专区中文字幕一区二区| 99久久亚洲一区二区三区青草| 欧美哺乳videos| 亚洲成av人片在线| 日本高清视频一区二区| 国产精品白丝在线| 高清国产一区二区| 精品国产乱码久久久久久久| 视频一区视频二区中文| 欧美性色aⅴ视频一区日韩精品| 中文幕一区二区三区久久蜜桃| 久久99深爱久久99精品| 欧美一区二区高清| 午夜久久福利影院| 在线观看欧美日本| 亚洲欧美另类综合偷拍| 91啪在线观看| 中文字幕日韩一区二区| 国产超碰在线一区| 国产视频一区在线播放| 韩国精品久久久| 欧美精品一区在线观看| 狠狠网亚洲精品| 久久青草国产手机看片福利盒子 | 性欧美疯狂xxxxbbbb| 91在线看国产| 亚洲欧美日韩在线播放| 91美女片黄在线观看91美女| 亚洲天堂成人在线观看| 99视频精品免费视频| 中文字幕亚洲在|