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
Warning message
I've put a website that I was doing live and I'm getting this warning message when I try to add a ne
Ball movement
I want to move a ball from one point to another and it should hit a group of balls at the other end
Sessions Value Not Saved
Hi,
Im making a login form and im using this code:
Code: if($login=="true"){
PHP If Else statement for breadcrumb
Hi
I am trying to use a PHP if else statement to display a breadcrumb link on wordpress
str_replace help
I am thinking str_replace is my only option to filter outputs from my database to convert them to sa
Update not working ... please help
Hi,
I am trying to update a row using an edit form by passing id of the row .. but it is not
OOP help
okay so i have a class im making it has everything setup i just need to randomize the 2 variables an
Count on multidimensional array
Hi, i got an array as below:
Array
(
=> Array
(
Unable to customise toolbar in FCK
More pug propaganda.
http://www.youtube.com/watch?v=8Kkrmubsgf8
The commercial is definitely worth watching pug aw