Solved

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

Posted on 2009-04-13
1
546 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Technology Resume 7 67
IDE for Python 5 63
Dictionary and array of [N] size - performance tuned 12 40
Securing WEBAPI on Azure 2 20
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

735 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