User c9f8286385
16-08-2007 04:37:12
Hi,
We are using the MarvinSketch applet from within an ASP.NET form and one of the things we need to do is to send the JPG image of the drawing back to the server to be saved in a file.
To do this, we wrote and ASP.NET page which (in the Page_Load method) would read the request stream and write the contents to a file. And we gave the URL of this page as the parameter for the applet parameter: imageSaveURL. We used "http://www.chemaxon.com/marvin/doc/dev/sketchman.html" as the reference for applet parameters.
However, we found that this page does not get invoked. We thought that there may be a limitation of the applet not being able to use ASP.NET pages and we wrote an ASP page to handle the request. However, this page also did not get invoked.
I need assistance to get this functionality working. Please let me know what I might be doing wrong, or if I am missing some steps in this process.
I would also like to understand how the imageSaveURL parameter works - e.g. at which point does the JPG image get streamed to the web server, what user interaction is required to trigger this, is there some other way to achieve the same functionality etc.
The version of MarvinSketch we are using is: 4.1.9
We are using the applet version of MarvinSketch on an ASP.NET environment on Windows XP.
Please let me know if any further information is required.
Samir Kulkarni,
Technical Manager,
IGKV
We are using the MarvinSketch applet from within an ASP.NET form and one of the things we need to do is to send the JPG image of the drawing back to the server to be saved in a file.
To do this, we wrote and ASP.NET page which (in the Page_Load method) would read the request stream and write the contents to a file. And we gave the URL of this page as the parameter for the applet parameter: imageSaveURL. We used "http://www.chemaxon.com/marvin/doc/dev/sketchman.html" as the reference for applet parameters.
However, we found that this page does not get invoked. We thought that there may be a limitation of the applet not being able to use ASP.NET pages and we wrote an ASP page to handle the request. However, this page also did not get invoked.
I need assistance to get this functionality working. Please let me know what I might be doing wrong, or if I am missing some steps in this process.
I would also like to understand how the imageSaveURL parameter works - e.g. at which point does the JPG image get streamed to the web server, what user interaction is required to trigger this, is there some other way to achieve the same functionality etc.
The version of MarvinSketch we are using is: 4.1.9
We are using the applet version of MarvinSketch on an ASP.NET environment on Windows XP.
Please let me know if any further information is required.
Samir Kulkarni,
Technical Manager,
IGKV