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
How can use this array as a key?
Say I have this array for example:
print_r($array);
Prints:
Code: [Select]Array
Creating web pages by php
Hello again,
I was just wondering us there a way to use a php script to create a new web page. I
While Problem
i am having a problem with a while statement here is the code
Code: [Select]<?php
sess
While Problem
i am having a problem with a while statement here is the code
Code: [Select]<?php
sess
strtotime issue
Hey all,
I'm playing around with some code, and basically the idea is:
Person changes
Reduce redundancies in switch functions?
Hello all! I somewhat new to PHP, and was wondering if anyone could give some suggestions on a swit
couldn't connect to your database
Hello I am new to php mysql
Actually i have read A tutorial on nettuts
"http://net.tu
question about n
I was looking at some of the things you could do with php and one of the things I have tried is n.<
PEAR Email Attachment w/ $gpg
I have no issues with this code if I take out the attachement section and include the info in the em
My query is being run with no results.
I have this.
Code: function DropUser($duser_id, $user_email, $user_username) {