I need a unique chart ID for each chart that I generate. I observe that the request.querystring variable "chart" passed to getchart.aspx has an unique ID. How can I access this ID in my aspx code?
getchart?chart="X"; how to access X?
thanks
Jagadish
ASP .NET getchart?chart="X"; how to access X?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: ASP .NET getchart?chart="X"; how to access X?
Hi Jagadish,
What about using WebChart1.ID property?
What about using WebChart1.ID property?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: ASP .NET getchart?chart="X"; how to access X?
webchart.ID property always returns the same ID of the chart. What i am looking for is to have a dynamic id that are generated every time i create the chart.
Re: ASP .NET getchart?chart="X"; how to access X?
Hello,
There is currently no property that will give you that id. The id is generated at the moment the Chart is created, after initial page_load has modified any settings for the Chart, and that id then forms part of the 'img src' information of the Chart on the page.
If you are to require the id after that moment on the client page (eg. via javascript) then you could use the request.querystring value for Chart itself. If you require that variable at any other moment or in serverside code then please let us know exactly how and we'll see if there is a way to supply that information. The Chart id consists of the ip address of the caller, the timestamp and the image format type.
Regards,
Marc Meumann
There is currently no property that will give you that id. The id is generated at the moment the Chart is created, after initial page_load has modified any settings for the Chart, and that id then forms part of the 'img src' information of the Chart on the page.
If you are to require the id after that moment on the client page (eg. via javascript) then you could use the request.querystring value for Chart itself. If you require that variable at any other moment or in serverside code then please let us know exactly how and we'll see if there is a way to supply that information. The Chart id consists of the ip address of the caller, the timestamp and the image format type.
Regards,
Marc Meumann
Steema Support