473,386 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

refresh XML control after OnClick

I have this form that updates post.xml with the contents of TextBox
after OnClick of Button. Post.xml is displayed using a XML server
control. Is there a way to make it so after OnClick the XML server
control displays the updated post.xml?

This is the page.
..http://68.9.150.211:8000/Comment/WebForm1.aspx.
Nov 18 '05 #1
2 1445
from your page, I cannot find any refreshing code of the XML control, you
simply saved the information to the file. In my opinion, XML control
cannot be so intelligent, you should add some code behind the line
"xDoc.Save(Server.MapPath("post.xml")) ".

And, another advice, if your website have many users , Database may be
better than XML file.

I'm not so sure about my words, so anybody who find something wrong, please
reply, to help heximal, and me.

Thanks.

"heximal" <ma***@yahoo.com>
??????:6f*************************@posting.google. com...
I have this form that updates post.xml with the contents of TextBox
after OnClick of Button. Post.xml is displayed using a XML server
control. Is there a way to make it so after OnClick the XML server
control displays the updated post.xml?

This is the page.
.http://68.9.150.211:8000/Comment/WebForm1.aspx.

Nov 18 '05 #2
I added

Response.Redirect("WebForm1.aspx")

This seem to fix it.
Thanks.
This is the page.
.http://68.9.150.211:8000/Comment/WebForm1.aspx.

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andrus Moor | last post by:
I want to add a refresh button to my web page which works like browser refresh button: it must re-load current page from server. How to implement this in javascript ?
43
by: dan baker | last post by:
I have a page that gets loaded with a meta-refresh hardcoded so that a few things on the page get updated. its kind of a fake chat board. anyway, what I need to do is turn off the meta-refresh once...
4
by: Sergio Millich | last post by:
I have an annoyîng problem with a javascript tree. When you scroll down to the bottom of the tree and click to open a node the tree is refreshed and scrolls back to the top, hiding the node. Is...
9
by: PK9 | last post by:
I'm having an issue with the "Refresh" of an asp.net page. The refresh is actually calling my last onClick event. I thought that asp.net was supposed to be stateless in that it shouldn't...
3
by: Sameer | last post by:
I have a webpage that has a link button. This link button on click opens up a new page. This is what is happening: 1. Load the web page. 2. Click on the link. 3. Refresh the web-page. Result:...
4
by: Alexander Widera | last post by:
hi, i have a button... after a click on it a function is called ... in it it is done something and it is needed to reload the page now... how can i reload a page? with Response.Redirect ? or is...
1
by: getmathan | last post by:
I have the below script which ll display a box to accept url and time. I need to add some code to it so that it should open the accepted url in a popup and display it every n seconds given as input....
4
by: Perl Beginner | last post by:
I have created a GUI window using Perl Win32::XMLBuilder. This window has several buttons on it, that when a button is clicked another Perl script will execute. When the script is complete, the GUI...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.