0

Web ページで Shield UI ASP.NET チャートを作成する際に問題があります。私が必要とするのは、データではなくコントロールをページに表示することです。最初にコントロールへの参照があります。

<%@ Register Assembly="Shield.Web.UI" Namespace="Shield.Web.UI" TagPrefix="shield" %>

そして、ここに実際の完全なコードがあります:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>
<%@ Register Assembly="Shield.Web.UI" Namespace="Shield.Web.UI" TagPrefix="shield" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">

<div id="chart" style="width: 390px; height: 290px; left: 5px; top:5px; margin: auto; position:inherit;">
                <shield:ShieldChart ID="ShieldChart1" runat="server" Width="320px" Height="330px"
                    OnTakeDataSource="ShieldChart1_TakeDataSource">
                    <DataSeries>

                    </DataSeries>
                </shield:ShieldChart>
            </div>        
    </form>
</body>
4

1 に答える 1