469,626 Members | 1,518 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,626 developers. It's quick & easy.

How to Submit a webpage without refreshing it?

Hello all
I am new to asp.net or web programming
I have a requirement, I have to submit a document to another server using
my webpage, there is a perticular protocol for doing that.
This protocol requires to make many requests between the servers for the
submission of single document,
as the result the webpage refreshes many time(for each request between the
servers). I want that some how my webpage doesn't refresh and at the same
time the requests are made between the servers.
OR SIMPLY "HOW CAN I SUBMIT THE SAME WEBPAGE MANY TIMES AND DO THE WORK AT
THE CODE-BEHIND WITHOUT REFRESHING IT"?
I am not sure but i think this can be done by using frames? but i was
unable to resolve it using frames.

Require help urgently !!
Nov 17 '05 #1
3 2353
GraVity,

I think that what you ask is impossible when it is about pages. Because a
page is always destroyed when it is sent.

However, a static class belongs to all sessions, so maybe can that help you.

Just an idea

Cor
Nov 17 '05 #2
In article <e9******************************@DotNetMonster.co m>,
fo***@nospam.DotNetMonster.com says...
Hello all
I am new to asp.net or web programming
I have a requirement, I have to submit a document to another server using
my webpage, there is a perticular protocol for doing that.
This protocol requires to make many requests between the servers for the
submission of single document,
as the result the webpage refreshes many time(for each request between the
servers). I want that some how my webpage doesn't refresh and at the same
time the requests are made between the servers.
OR SIMPLY "HOW CAN I SUBMIT THE SAME WEBPAGE MANY TIMES AND DO THE WORK AT
THE CODE-BEHIND WITHOUT REFRESHING IT"?
I am not sure but i think this can be done by using frames? but i was
unable to resolve it using frames.

Require help urgently !!

Think about it this way. The "submit" action of any webform is invoked
by the end user/client/browser, not via your server-side code. If I
understand your question correctly. You're asking for the impossible.

The analogy is, two people playing catch. You're asking "How can I make
the other person throw the ball without moving their arm?".

First, you don't make the other person throw the ball, they have to
initiate the action. Second, moving their arm is part of the sequence
of throwing the ball.

Perhaps I'm misunderstanding you?

Nov 17 '05 #3
What you are going to need to do is, in Javascript, start an XML
conversation between your cleint page and the server. This process has the
hot new buzzword "AJAX" (Asynchronous Javascript And XML). You can read
more about it here:
http://www.codeproject.com/useritems...Here-Part1.asp

--
--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com

"GraVity via DotNetMonster.com" <fo***@nospam.DotNetMonster.com> wrote in
message news:e9******************************@DotNetMonste r.com...
Hello all
I am new to asp.net or web programming
I have a requirement, I have to submit a document to another server using
my webpage, there is a perticular protocol for doing that.
This protocol requires to make many requests between the servers for the
submission of single document,
as the result the webpage refreshes many time(for each request between the
servers). I want that some how my webpage doesn't refresh and at the same
time the requests are made between the servers.
OR SIMPLY "HOW CAN I SUBMIT THE SAME WEBPAGE MANY TIMES AND DO THE WORK AT
THE CODE-BEHIND WITHOUT REFRESHING IT"?
I am not sure but i think this can be done by using frames? but i was
unable to resolve it using frames.

Require help urgently !!

Nov 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by gsb | last post: by
3 posts views Thread by D. Shane Fowlkes | last post: by
5 posts views Thread by Kasya | last post: by
5 posts views Thread by chimambo | last post: by
1 post views Thread by =?Utf-8?B?TmFt?= | last post: by
11 posts views Thread by V S Rawat | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.