Solved

How i can pass a big Xml string from silverlight to aspx to aspx

Posted on 2009-04-13
1
535 Views
Last Modified: 2013-11-12
In silverlight i build a Xml and i put the result in a string. I pass the string to the parent aspx.
I need to pass the result to another aspx page.

I was able to pass my xml to the parent page aspx, but my problem is i dont know how to pass pass a 10000 long caracters string to another aspx from my parent aspx.

On the new aspx i have a crystal report and the source is my xml string.

Thx for your help !!!


silverlight Code :

HtmlPage.Window.Invoke("GetXml", myXml);

 

Aspx code:

  <script type ="text/javascript">

    function GetXml(xmlValue)

  {

        //alert(xmlValue);

        window.open("\\Report.aspx", "Report");

        return xmlValue;

    }

</script>

Open in new window

0
Comment
Question by:raymmich1981
1 Comment
 
LVL 16

Accepted Solution

by:
TSmooth earned 500 total points
Comment Utility
I would use the HttpContext bucket if possible or the session bucket. In your one aspx page, you could have:

HttpContext.Current.Items("MyXMLString") = xmlValue

Then in the second page, retrieve it:

xmlValue = HttpContext.Current.Items("MyXMLString")
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now