TC

Can I pass my xmlData to the form called with the ClickURL method?

Recommended Posts

On my ClickURL method, of my chart, I call another web page that is exactly like the calling page, except the chart is larger.

 

 

 

When I call this new page via: <chart clickURL='NewLargerVersionOfSameChart'

 

is it possible to pass the xmlData to it, from the calling form? Or do I have to regather all my XMLdata again?

 

 

 

vb.net

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Could you please let us know, whether you are specifying the width and the height of the chart in '%' or in 'pixels'?

Awaiting your reply. 

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

 

 

 

You can try following the steps below and see if this helps:

 

 

 

1. clickURL calls a JavaScript function

 

2. This JS function doest getXML() on chart

 

3. After getting XML, prepare the final url of the larger chart by appending this data as querystring.

 

Note: escape() the data before adding to url.

 

4. Do window.open of the above url.

 

 

 

Also, (in case of large data) you may POST to another page. This can be done by having a form with method POST and action as the largerChartURL. Also target is set to _blank.

 

 

 

Now, we also have a hidden field in this form, whose value we change using JavaScript in step (3) above.

 

Then instead of step (4), we simply do form.submit()

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now