Make a postback without using Javascript

  • Thread starter Thread starter Alfonso
  • Start date Start date
A

Alfonso

Hi:
I have done a page using Asp.net with a searcher and a contact form.

My problem is that it must work in navigators without javascript, and
when I run de web in those navigators I have no postback by linkbuttons or
postback in buttons redirects me to a blank page.

Does anyone can help me?

Thanks a lot and sorry for my bad english.

Alfonso
 
Alfonso,

Postback is not possible without javascript. Try to convince your boss to
let you use javascript.

Eliyahu
 
Postback is not possible without javascript. Try to convince your boss to
let you use javascript.

Other than using actual form submit buttons, you have to use javascript,
which, as you state, is an issue if it's a public-facing web site and
accessibility is a concern.

For times when I need that, I revert back to good'ol querystrings. I just
redirect the page back to itself with the querystrings and have some logic
on the page_load sub to handle what to do.

Since most of my work is on public facing sites with accessibility concerns,
that's what I use more often than not.

-Darrel
 
I recently did the same thing. Just make sure that all of your buttons are
submit buttons. Some pages may need to be redesigned.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top