常用Ajax Control Tookiet 控件用法(原)

1.Acctordion

   <ajaxToolkit:Accordion ID="MyAccordion" runat="server"
                           SelectedIndex="0"
                           HeaderCssClass="accordionHeader"
                           ContentCssClass="accordionContent"
                           FadeTransitions="true"
                           FramesPerSecond="40"
                           TransitionDuration="250"
                           AutoSize="None">
     <Panes>
      
          <ajaxToolkit:AccordionPane ID = "AccordionPane1" runat = "server">
          <Header>
            <a href = "" onclick = "return false;" class = "accordionLink"> Section 1</a>
         </Header>
          <Content>
           这里添加内容  

        </Content>
        </ajaxToolkit:AccordionPane>
    
        
     </Panes>
     </ajaxToolkit:Accordion>

你可能感兴趣的:(Ajax)