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
35
Other forums
Database 'Validation'
Hi everyone,
I'm trying to validate the password entered by the user with the password in the dat
Amend code to allow multiple attachments
Hi
I have a php page that allows the user to browse to a file (image) then sumbit, the confi
xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<
$_FILES array
Ok,
I just started experimenting with PHP today. My goal right now is to have people be able
Text Not Displaying Correctly With PHP:GD
I recently moved servers and since then I have noticed that one line of text is showing weirdly.
convert static html data into dynamic
hi all
i need to convert a website which has static above 2000 articles into dynamic and add
Any help with my email script?
I have an email script, I have not tested it, although someone tested it for me and said it worked f
Coefficient of a Restitution Hints
Hello. I was wondering if anyone can give me hints on how to write this program...
The coeffi
need help in update query
hi
i have a dynamic form. i need help in how can i use update query when values from dynamic for
This is driving me nuts!
This insert query looks to be alright, however I get this error:
QuoteYou have an error in yo