如上图,例如,当我点左边第8条(二级分行信贷金融中心每年放款、净增金额图)时,右边superpanel的定位,总在superpanel的最下面,怎么能定位到superpanel的最上面呢
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sannong_gaishu2.aspx.cs" Inherits="IFP.xd._02.sannong_gaishu2" %>
- <%@ Register Assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20143.194, Culture=neutral, PublicKeyToken=9b75583953471eea"
- Namespace="C1.Web.Wijmo.Controls.C1SuperPanel" TagPrefix="wijmo" %>
- <%@ Register Assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20143.194, Culture=neutral, PublicKeyToken=9b75583953471eea" Namespace="C1.Web.Wijmo.Controls.C1Chart" TagPrefix="wijmo" %>
- <%@ Register assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20143.194, Culture=neutral, PublicKeyToken=9b75583953471eea" namespace="C1.Web.Wijmo.Controls.C1GridView" tagprefix="wijmo" %>
- <%@ Register assembly="C1.Web.Wijmo.Controls.4" namespace="C1.Web.Wijmo.Controls.C1GridView" tagprefix="wijmo" %>
- <%@ Register assembly="C1.Web.Wijmo.Extenders.3, Version=3.5.20143.194, Culture=neutral, PublicKeyToken=9b75583953471eea" namespace="C1.Web.Wijmo.Extenders.C1FormDecorator" tagprefix="cc1" %>
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title></title>
- <style type="text/css">
- .style1
- {
- height: 20px;
- }
- </style>
- </head>
- <body>
- <form id="form1" runat="server">
- <script type="text/javascript">
- function navTo(dom) {
- var scroll = $('#<%=C1SuperPanel1.ClientID %>');
- var ident = $(dom).attr("href");
- var d = $(ident);
- scroll.c1superpanel('scrollChildIntoView', d);
- return false;
- }
- </script>
- <div>
- <table style="width:100%">
- <tr style="width:100%">
- <td style="width:20%">
- <ol>
- <li><a href="#A1" onclick="return navTo(this);">不良率时点、月增减及年增减表</a> </li>
- <li><a href="#A2" onclick="return navTo(this)">二级分行每日放款、净增金额图</a> </li>
- <li><a href="#A3" onclick="return navTo(this)">二级分行每月放款、净增金额图</a> </li>
- <li><a href="#A4" onclick="return navTo(this)">二级分行每季放款、净增金额图</a> </li>
- <li><a href="#A5" onclick="return navTo(this)">二级分行每年放款、净增金额图</a> </li>
- <li><a href="#B1" onclick="return navTo(this)">二级分行信贷金融中心每日放款、净增金额图</a> </li>
- <li><a href="#B2" onclick="return navTo(this)">二级分行信贷金融中心每月放款、净增金额图</a> </li>
- <li><a href="#B3" onclick="return navTo(this)">二级分行信贷金融中心每年放款、净增金额图</a> </li>
- </ol>
- </td>
- <td style="width:80%">
-
- <wijmo:C1SuperPanel ID="C1SuperPanel1" runat="server" Height="600px"
- KeyboardSupport="False">
- <ContentTemplate>
- <table style="width:100%">
- <tr style="width:100%">
- <td valign="top" style="width:100%;text-align:center;" >
- <h2 id="A1" style="color:#000;">不良率时点、月增减及年增减表</h2>
- <asp:Label ID="Label1" runat="server" Text="不良率时点、月增减及年增减表(单位:万元)" Width="100%" CssClass="Title" BackColor="#CFDDF0" Font-Bold="True" Font-Size="Medium"></asp:Label>
- <asp:SqlDataSource ID="SqlDataSource1" runat="server"
- ConnectionString="<%$ ConnectionStrings:produce1ConnectionString4 %>"
- OldValuesParameterFormatString="original_{0}"
-
- SelectCommand="SELECT [日期], [单位], [不良率时点], [不良率月增减], [不良率年增减], [不良金额时点], [不良金额月增减], [不良金额年增减] FROM [nong_erfen] ORDER BY [序号]">
- </asp:SqlDataSource>
- <br />
-
- <wijmo:C1GridView ID="C1GridView1" runat="server" AutogenerateColumns="False" Culture="zh-CN"
- DataSourceID="SqlDataSource1" GroupAreaCaption="将这里的一列拖去与那一列分组。"
- LoadingText="载入中..." AllowPaging="True" AllowSorting="True"
- DataKeyNames="日期,单位" PageSize="13" Width="1000px"
- ShowFooter="True">
- <Columns>
- <wijmo:C1BoundField DataField="日期" HeaderText="日期" SortExpression="日期"
- ReadOnly="True">
- <controlstyle horizontalalign="Center" verticalalign="Middle" />
- </wijmo:C1BoundField>
- <wijmo:C1BoundField DataField="单位" HeaderText="单位" SortExpression="单位"
- ReadOnly="True">
- </wijmo:C1BoundField>
- <wijmo:C1BoundField DataField="不良率时点" HeaderText="不良率时点" SortExpression="不良率时点"
- DataFormatString="p%">
- <controlstyle horizontalalign="Center" verticalalign="Middle" />
- <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
- </wijmo:C1BoundField>
- <wijmo:C1BoundField DataField="不良率月增减" HeaderText="不良率月增减"
- SortExpression="不良率月增减" DataFormatString="p%">
- </wijmo:C1BoundField>
- <wijmo:C1BoundField DataField="不良率年增减" HeaderText="不良率年增减"
- SortExpression="不良率年增减" DataFormatString="p%">
- </wijmo:C1BoundField>
- <wijmo:C1BoundField DataField="不良金额时点" HeaderText="不良金额时点"
- SortExpression="不良金额时点">
- </wijmo:C1BoundField>
- <wijmo:C1BoundField DataField="不良金额月增减" HeaderText="不良金额月增减"
- SortExpression="不良金额月增减">
- </wijmo:C1BoundField>
- <wijmo:C1BoundField DataField="不良金额年增减" HeaderText="不良金额年增减"
- SortExpression="不良金额年增减">
- </wijmo:C1BoundField>
- </Columns>
- <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
- <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
- <RowStyle HorizontalAlign="Center" VerticalAlign="Middle" />
- </wijmo:C1GridView>
- </td>
- </tr>
- <tr style="width:100%">
- <td valign="top" style="width:100%;text-align:center;">
- <h2 id="A2" style="color:#000;width:100%">二级分行每日放款、净增金额图</h2>
- <wijmo:C1BarChart ID="C1BarChart1" runat="server" Culture="zh-CN" Horizontal="False" Width="90%">
- </wijmo:C1BarChart>
- </td>
- </tr>
- <tr style="width:100%">
- <td style="width:100%" valign="top">
- <h2 id="A3" style="color:#000;">二级分行每月放款、净增金额图</h2>
- <wijmo:C1BarChart ID="C1BarChart2" runat="server" Horizontal="False" Width="90%">
- </wijmo:C1BarChart>
-
- </td>
- </tr>
- <tr>
- <td class="style1" valign="top">
- <h2 id="A4" style="color:#000;">二级分行每季放款、净增金额图</h2>
- <wijmo:C1BarChart ID="C1BarChart3" runat="server" Horizontal="False"
- Width="90%">
- </wijmo:C1BarChart>
- </td>
- </tr>
- <tr>
- <td class="style1" valign="top">
- <h2 id="A5" style="color:#000;">二级分行每年放款、净增金额图</h2>
- <wijmo:C1BarChart ID="C1BarChart4" runat="server" Horizontal="False" Width="90%">
- </wijmo:C1BarChart>
- </td>
- </tr>
- <!--金融中心----------------------------------------------------------------------------->
- <tr>
- <td class="style1" valign="top">
- <h2 id="B1" style="color:#000;">二级分行信贷金融中心每日放款、净增金额图</h2>
- <wijmo:C1BarChart ID="C1BarChart5" runat="server" Horizontal="False" Width="90%">
- </wijmo:C1BarChart>
- </td>
- </tr>
- <tr>
- <td class="style1" valign="top">
- <h2 id="B2" style="color:#000;">二级分行信贷金融中心每月放款、净增金额图</h2>
- <wijmo:C1BarChart ID="C1BarChart6" runat="server" Horizontal="False" Width="90%">
- </wijmo:C1BarChart>
- </td>
- </tr>
- <!--
- <tr>
- <td class="style1">
- <wijmo:C1BarChart ID="C1BarChart7" runat="server" Horizontal="False"
- Width="90%">
- </wijmo:C1BarChart>
- </td>
- </tr>
- -->
- <tr>
- <td class="style1" valign="top">
- <h2 id="B3" style="color:#000;">二级分行信贷金融中心每年放款、净增金额图</h2>
- <wijmo:C1BarChart ID="C1BarChart8" runat="server" Horizontal="False" Width="90%">
- </wijmo:C1BarChart>
- </td>
- </tr>
- </table>
- </ContentTemplate>
- <ResizableOptions Handles="All" Helper="ui-widget-content wijmo-wijsuperpanel-helper"></ResizableOptions>
- </wijmo:C1SuperPanel>
- </td>
- </tr>
- </table>
- </div>
- </form>
- </body>
- </html>
复制代码 |