ajax 控件使用

 <asp:ScriptManager ID="ScriptManager1" runat="server">
 </asp:ScriptManager>

 
<span id="c1" onclick="lpa()" style="color:Red; font-size:20px">理赔案件</span>
<span id="c2" onclick="lpb()" style=" font-size:20px">导入本地</span>

<div id="lp2" style="display:none">
<div style="overflow:scroll; padding-bottom:16px; width:99%" align="center" >
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
 <ContentTemplate>
    <asp:GridView ID="GridView2" runat="server">
        <RowStyle Wrap="False" />
        <EmptyDataRowStyle Wrap="False" />
     <Columns>

                 <asp:HyperLinkField DataNavigateUrlFields="理赔ID" 
                     DataNavigateUrlFormatString="ss_lpxg.aspx?lpid={0}" HeaderText="审核" 
                     Text="审核中" >
                     <ControlStyle Width="30px"/>
                     <FooterStyle Wrap="False" />
                     <HeaderStyle Wrap="False" />
                     <ItemStyle Wrap="False"   />
                 </asp:HyperLinkField>
                 <asp:HyperLinkField DataNavigateUrlFields="理赔ID" 
                     DataNavigateUrlFormatString="quxiao.aspx?lpid={0}" HeaderText="取消审核" 
                     Text="取消审核" >
                     
                     <FooterStyle Wrap="False" />
                     <HeaderStyle Wrap="False" />
                     <ItemStyle Wrap="False" />
                 </asp:HyperLinkField>
            
    </Columns>
        <FooterStyle Wrap="False" />
        <PagerStyle Wrap="False" />
        <HeaderStyle Wrap="False" BackColor="#00CCFF" Height="30px" />
        <EditRowStyle Wrap="False" />
    </asp:GridView>
    <webdiyer:AspNetPager ID="AspNetPager2" runat="server" FirstPageText="首页" 
        LastPageText="尾页" NextPageText="下一页" onpagechanging="AspNetPager2_PageChanging" 
        PrevPageText="上一页" >
    </webdiyer:AspNetPager>
    </ContentTemplate>
 </asp:UpdatePanel>

 

posted @ 2016-04-06 10:55  李子俊  阅读(243)  评论(0编辑  收藏  举报