set xml path in flash when xml created in memorystream and webrequest


Posted on 16th Feb 2014 07:03 pm by admin

i am creating an xml file using memory stream and i want to load this xml file into the flash on client scriptso the flash can load data from the streamed xml but i am unable to give path in xml guide mehere is the like there i get the codehttp://www.primaryobjects.com/CMS/Article76.aspxhere is my code
protected void Page_Init(object sender, EventArgs e) { if (!IsPostBack) { if (Request.QueryString["uid"] != null) {
try { string uid = Request.QueryString["uid"].ToString(); // this web request create an xml file using the above link and send response it works fine WebRequest request = WebRequest.Create("http://localhost:29052/DirectResponseOff/load.aspx?uid=" + uid); WebResponse response = request.GetResponse(); Stream s = response.GetResponseStream(); StreamReader sr = new StreamReader(s, System.Text.Encoding.ASCII); string str = sr.ReadToEnd(); string Path = "load.aspx?uid=" + uid; // this Path doesn't work i tried and search everywhere lot but failed any sugestion tell me ClientScript.RegisterStartupScript(this.GetType(), "Flash", ""); } catch (Exception) {
Did you know?Explore Trending and Topic pages for more stories like this.
throw; } } } }
No comments posted yet

Your Answer:

Login to answer
90 Like 35 Dislike
Previous forums Next forums
Other forums

Need understanding of this bit of code
Code: <?php
// WHERE clause filters
$arrSQLFilters = array();

//

Receive Rosettanet Message to SAP 4.6c
Dear all ,

My customer will send the PO details by rosettanet message , Is it

whats wrong with my code please help!!!
this is the error


Warning: mysql_close(): supplied argument is not a valid MySQL-Link res

switch not getting value
what am i doing wrong?
i want to populate the country list according to the category
i want to

Batch Session SM35 stuck in status 'in Background
Hi Experts,

I am facing a problem with Batch Input session SM35.

The batch se

Database 'Validation'
Hi everyone,
I'm trying to validate the password entered by the user with the password in the dat

max function question
Hi All
Ihave a table that holds shipment numbers and dates like this

select * from

Problem with passing variables
I'm not really a php programmer so I'm really struggling with this issue.

I have a banner s

Checking BOM Authorization Group
Hai Friends,

I have developed a mulitilevel BOM display report. End users have been assig

Why does my crawler script suddenly end with no error?
Hi.

I have written a web crawler script. It will visit a large number of URL's with cURL.

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash