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

Merger of 6 sister companies under one flagship company after go live
Dear Experts,
I need one help regarding Merger of sister companies of same group. currently we

Php Mysql Page Loading Notice
Hi all,

I was wondering if there is a way (Sure there is) of showing a message or an image wh

Working with popups and such in a class
I've recently started building my applications completely enclosed in classes. I like the fact that

Data type mismatch
Hi,
I am migrating data from algol to c.I mapped real datatype in algol to double datatype in

Wrong Info sent Using $get in form
Hi i have this code that i tried to make to send some info from one page to aother with lots of ppls

code help - pagination
Hi all, I have this code, basically a user logs into my site and they get this page.

The pro

php libs/ browsercap.in
ok i have a host that refuses to stay current. they control my php settings and libs. is there a way

Hom to make one url to open together with another url
I have a chat, which i want to be opened, as soon as the users login to the site. As it is now, when

SQl num_rows problem
when i try to count rows from an SQL select i get an warning

Code: [Select]$countviews = mysq

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

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