Page 1 of 1
TeeChart data and Delphi 2006 for ASP.NET vs VS 2003
Posted: Wed Jan 31, 2007 6:27 pm
by 9644048
Getting TeeChart for .NET to work with Delphi 2006 and ASP.NET is easy enough. However, edits made to the chart style and data at design time do not persist to runtime. With VS 2003, chart styles and data do persist.
Is there a way to configure the chart at design time and have the data available at runtime using Delphi 2006 for ASP.NET? Or, with Delphi is it necessary to define the chart style and data only using runtime code?
On a related note, how is this data being persisted in VS 2003 with C#? It doesn't appear to be defined using InitializeComponent.
Thanks in advance
Posted: Thu Feb 01, 2007 11:53 am
by narcis
Hi GregS,
Is there a way to configure the chart at design time and have the data available at runtime using Delphi 2006 for ASP.NET? Or, with Delphi is it necessary to define the chart style and data only using runtime code?
This is a known issue (TF02011193) which need to be investigated for future releases. In the meantime, the only way is setting chart at run-time.
On a related note, how is this data being persisted in VS 2003 with C#? It doesn't appear to be defined using InitializeComponent.
TeeChart for .NET is being serialized in InitializeComponent's method implementation, in the
Windows Form Designer generated code section. Can't you find this in your projects?
Posted: Thu Feb 01, 2007 3:17 pm
by 9644048
Looked at it again. Nothing TeeChart specific in InitializeComponent in C# (only an event handler assignment at this time).
I looked at the ASPX and the data seems to be persisted using encoded text in the Config attribute of the tchart:WebChart element. I was hoping that I could inspect the property assignments to gain insight into which properties I needed to set programmatically in Delphi. Oh, well.
Thanks for the reply.
On a side note, while setting the properties programmatically is not all that convenient, with so many Delphi developers are already familiar with your product, I don’t understand why you don’t promote the Delphi use of TeeChart for .NET (or really even mention it for that matter). Our development team couldn’t certify that it could be used in Delphi until we tried it (though we were pretty sure that it would be possible). I think you’re missing a fairly good size market.
Posted: Thu Feb 01, 2007 3:41 pm
by narcis
Hi GregS,
Sorry, I forgot you were speaking about WebForms applications. In WebForms applications WebChart is serialized in the WebForm's HTML code in a
tchart:WebChart tag and its
Config property.
On a side note, while setting the properties programmatically is not all that convenient, with so many Delphi developers are already familiar with your product, I don’t understand why you don’t promote the Delphi use of TeeChart for .NET (or really even mention it for that matter). Our development team couldn’t certify that it could be used in Delphi until we tried it (though we were pretty sure that it would be possible). I think you’re missing a fairly good size market.
Thanks you very much for your suggestion. I ignore if there's a technical cause for that but I'll pass your comment onto my colleagues.
Posted: Fri Aug 24, 2007 1:40 pm
by 9641712
narcis wrote:
This is a known issue (TF02011193) which need to be investigated for future releases. In the meantime, the only way is setting chart at run-time.
Any chance of a fix for this?
This is a major problem for anyone designing webforms apps with BDS2006.
Posted: Fri Aug 24, 2007 3:07 pm
by narcis
Hi Dave,
It is most unlikely that this gets fixed as CodeGear announced that they don't plan to further develop nor support Delphi for .NET technology.
Also please notice that even that was fixed not much could be done in WebForms at design-time because because WebForms are stateless. For example, in Visual Studio .NET, little can be done at design-time with WebChart, most settings must be done at run-time.