By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,281 Members | 2,268 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,281 IT Pros & Developers. It's quick & easy.

codebehind form submit?

P: n/a
How can I tell a form to submit itself in the code-behind
in vs.net?

In other words, in javascript I can do blah.submit() - how
do I do this in vs.net code-behind?
Nov 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Can you tell why do you want to submit your form from code behind
Saravana
Microsoft India Community Star.
MCAD,SE,SD,DBA.
"Scott" <sp*********@nc.rr.com> wrote in message
news:0a****************************@phx.gbl...
How can I tell a form to submit itself in the code-behind
in vs.net?

In other words, in javascript I can do blah.submit() - how
do I do this in vs.net code-behind?

Nov 17 '05 #2

P: n/a
Why would a form submit to itself on the server-side? A form can only be
submitted from the client TO the server. In fact, once you are operating on
the server side, what reason would you have for submitting the form
immediately again? It would just come right back to where it already is (the
server).

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Big things are made up of
lots of Little things.

"Scott" <sp*********@nc.rr.com> wrote in message
news:0a****************************@phx.gbl...
How can I tell a form to submit itself in the code-behind
in vs.net?

In other words, in javascript I can do blah.submit() - how
do I do this in vs.net code-behind?

Nov 17 '05 #3

P: n/a
The problem I am having is with the behavior of forms in
asp.net. I am trying to allow a customer submit a
computername, then perform some operations on the computer
and diplay a results page. The problem is, the results
page runs a series of components that take 20-30 seconds
to finish. I want to let the user know that something is
going on. So, I have a gif file that is supposed to
display on the screen on the submit form after they click
submit. However, because that gif file enable code line
is in the submit event along with the response.write, The
animated gif never shows up and the page just clocks until
it finishes the response.write reults page.

I want to make sure my user knows something is going on.
Is there a better way to do this in code behind?
-----Original Message-----
Why would a form submit to itself on the server-side? A form can only besubmitted from the client TO the server. In fact, once you are operating onthe server side, what reason would you have for submitting the formimmediately again? It would just come right back to where it already is (theserver).

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Big things are made up of
lots of Little things.

"Scott" <sp*********@nc.rr.com> wrote in message
news:0a****************************@phx.gbl...
How can I tell a form to submit itself in the code- behind in vs.net?

In other words, in javascript I can do blah.submit() - how do I do this in vs.net code-behind?

.

Nov 17 '05 #4

P: n/a
I get it now, Scott. You can save yourself a lot of time by Googling
"ASP.Net Progress Bar". There are tons of solutions and tutorials on the
subject out there. You might start with www.asp.net.

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Big things are made up of
lots of Little things.

"Scott" <sp*********@nc.rr.com> wrote in message
news:00****************************@phx.gbl...
The problem I am having is with the behavior of forms in
asp.net. I am trying to allow a customer submit a
computername, then perform some operations on the computer
and diplay a results page. The problem is, the results
page runs a series of components that take 20-30 seconds
to finish. I want to let the user know that something is
going on. So, I have a gif file that is supposed to
display on the screen on the submit form after they click
submit. However, because that gif file enable code line
is in the submit event along with the response.write, The
animated gif never shows up and the page just clocks until
it finishes the response.write reults page.

I want to make sure my user knows something is going on.
Is there a better way to do this in code behind?
-----Original Message-----
Why would a form submit to itself on the server-side? A

form can only be
submitted from the client TO the server. In fact, once

you are operating on
the server side, what reason would you have for

submitting the form
immediately again? It would just come right back to where

it already is (the
server).

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Big things are made up of
lots of Little things.

"Scott" <sp*********@nc.rr.com> wrote in message
news:0a****************************@phx.gbl...
How can I tell a form to submit itself in the code- behind in vs.net?

In other words, in javascript I can do blah.submit() - how do I do this in vs.net code-behind?

.

Nov 17 '05 #5

P: n/a
You can use a frame set:

in one frame, display your animated Processing.GIF -- in the other frame,
kickoff the process and refresh - displaying status updates from the
components or database as needed in the other frame (might get complicated
to do this depending on what/how you're processing and the nature of your
status updates)....when the whole process is complete, redirect back out of
the frameset, or just update the frame with the Processing.GIF to
Completed.GIF....

Something like that...

Hope that helps.

Cheers.

"Scott" <sp*********@nc.rr.com> wrote in message
news:00****************************@phx.gbl...
The problem I am having is with the behavior of forms in
asp.net. I am trying to allow a customer submit a
computername, then perform some operations on the computer
and diplay a results page. The problem is, the results
page runs a series of components that take 20-30 seconds
to finish. I want to let the user know that something is
going on. So, I have a gif file that is supposed to
display on the screen on the submit form after they click
submit. However, because that gif file enable code line
is in the submit event along with the response.write, The
animated gif never shows up and the page just clocks until
it finishes the response.write reults page.

I want to make sure my user knows something is going on.
Is there a better way to do this in code behind?
-----Original Message-----
Why would a form submit to itself on the server-side? A

form can only be
submitted from the client TO the server. In fact, once

you are operating on
the server side, what reason would you have for

submitting the form
immediately again? It would just come right back to where

it already is (the
server).

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Big things are made up of
lots of Little things.

"Scott" <sp*********@nc.rr.com> wrote in message
news:0a****************************@phx.gbl...
How can I tell a form to submit itself in the code- behind in vs.net?

In other words, in javascript I can do blah.submit() - how do I do this in vs.net code-behind?

.

Nov 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.