Solved

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

Posted on 2009-04-13
1
539 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
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…

912 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

22 Experts available now in Live!

Get 1:1 Help Now