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) {
throw; } } } }

No comments posted yet

Your Answer:

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

Probably a simple error...
I'm getting the error -- Parse error: syntax error, unexpected '{' in /home/content/c/s/t/csteffen24

Weekly Calendar
Hi, I am looking at creating a weekly calendar. The calendar will read from Monday - Sunday. Does an

Chat Box in PHP
I was thinking in doing a Chat Box in PHP. For that I would use a form with two fields, Nick and Mes

same querie, or a new one??
Hi guys,

I'm still working on this drop down list. I've got the actual drop down list to wor

login to other site by sending post variables
hey,

here is my problem: my school gave me a mail account for school-stuff use. they mail us

how do i display data on a page from mysql
1 - do i use this code at the top of each of my page i wish to only alow access if there as been a s

Error: SQL Syntax; Line 1
Code:

<?php require "global_settings.php"; ?>
<title&g

SAP Project Module
I have seen in the SAP Project Module,plan cost and budget are not equal and even difference is sign

parsing error
can anyone explain this syntax error:

Parse error: syntax error, unexpected T_IF

The e

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

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