Solved

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

Posted on 2009-04-13
1
544 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
ID: 24138603
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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

840 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