Jump to content
Software FX Community

.net vs image component


User (Legacy)

Recommended Posts

Hello group,

when I try to generate a .net component in the aspx page it works fine:

<%@ Import Namespace="SoftwareFX.ChartFX"%>

<%@ Import Namespace="SoftwareFX.ChartFX.Borders"%>

<%@ Import Namespace="SoftwareFX.ChartFX.Internet.Server"%>

<%@ Import Namespace="SoftwareFX.ChartFX.Internet.Server.GalleryObj"%>

<%@ Import Namespace="System.Drawing"%>

<%

Dim Chart2 = new SoftwareFX.ChartFX.Internet.Server.Chart(me)

Response.Write(Chart2.GetHtmlTag(500,500,"Auto"))

%>

But when I try the same in the codebehind page it produce alway an image not

a .net component:

vb code:

Dim Chart3 As SoftwareFX.ChartFX.Internet.Server.Chart = New

SoftwareFX.ChartFX.Internet.Server.Chart(Me)

Chart3.GetHtmlTag(500, 500, "Auto")

DataGridPanel.Controls.Add(Chart3)

aspx page:

<%@ Import Namespace="SoftwareFX.ChartFX"%>

<%@ Import Namespace="SoftwareFX.ChartFX.Borders"%>

<%@ Import Namespace="SoftwareFX.ChartFX.Internet.Server"%>

<%@ Import Namespace="SoftwareFX.ChartFX.Internet.Server.GalleryObj"%>

<%@ Import Namespace="System.Drawing"%>

<asp:panel id="DataGridPanel" runat="server" Width="100%"></asp:panel>

Is there any reason for this? Do I missing something?

Thanks for any help

Andreas

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...