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) {
Did you know?Explore Trending and Topic pages for more stories like this.
throw; } } } }
No comments posted yet
Your Answer:
Login to answer
90
35
Other forums
Alterar a hora do servidor
Se alguém souber, ajude-me a adicionar 6 horas, obrigado
<tr>
&
PHP File Upload Problem
Hi, I have written a very simple file upload script but it fails for reasons I can't explain. Hope
Cursor statement failed with errors
Following statement failed with the errors.
cursor proj_cursor1 is (select projectID from
Gaining access to Drop Down Menu Variable
code is below, I am creating a drop down menu. I want to echo the value selected in the drop down me
AutoChoosing a CSS file based on URL
Hey everyone,
I have a site that has multiple URLs and CSS files.
Based on the URL tha
php + mysql count consecutive data
I have a database of values and I want to work out how to display them if the values match a consecu
HTAccess auto log in?
Hi all.
Too busy driving celebs about lately so I hope someone here can help me out.
I
upload control not working with update panel
Hi,
I am working with Asp.Net FileUpload control with ajax update panel,
if i use the
Multidimensional Array into an Html table, help!
Hello all, I am new to HTML/PHP so any help would be great.
I have a multidimensional array f
PHP webpage & array print issue
I have this code running, and it works perfectly … however, see my bottom bit about what I see