Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there is a way to submit a form on the server side

Status
Not open for further replies.

Plato2

Programmer
Dec 6, 2002
192
0
0
US
Is there is a way to do in ASP.NET(server side) similar to JavaScript: document.Form.submit()

Thanks in advance
 
I tried Server.Transfer("but it gives error:An unhandled exception of type 'System.StackOverflowException' occurred in httpretrivalpage.dll
Because I'm submiting to the same page.
Any ideas?
Is there is a way to call client side Javascript from ASP.NET?

Thanks in advance
 
Umm...what function does submitting a form to itself once it's already on the server serve? You already have all the information from the client in that instance of that page.

________________________________________
Andrew

I work for a gift card company!
 
I can't think of a case where I'd need to do what you're asking. JavaScript runs on the client. If you want a script to run when the server is done processing and the page is served back to the user, then use the "RegisterStartupScript" method.

Thomas D. Greer

Providing PostScript & PDF
Training, Development & Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top