Hi J,
Do a view source on the default.aspx page. At the bottom you'll see a
hidden div that contains a table that stretches to cover the whole page.
The don't show the javascript, but when you click a button they are making
the div visible and then submitting the form. They appear to be doing this
in the frmValidate() javascript routine which doesn't show in the code
because it is in an included .js file. You could do the same with a button.
Call it Button1, in your code behind, do this:
Button1.Attributes.Add("onclick", "ShowDiv(); return false;");
In your HTML:
<script language='javascript'>
function ShowDiv() {
document.getElementById('myDiv').style.visibility = 'visible';
document.getElementById('Form1').submit();
}
</script>
Then just create your div like they did and you should be all set. I havn't
tested this but it should be close. Good luck! Ken.
--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.
"JohnSmith" <Jo***********@hotmail.com> wrote in message
news:uL**************@TK2MSFTNGP12.phx.gbl...
When I visit the below link and try to book the hotel, I will get the
"Please wait while we check.." displayed while the search is on..
http://www.tajhotels.com/Resevation/default.aspx
How to do that in ASP.Net? I am using .NetFramework 1.1 and IE6+. By doing
so I can avoid user clicking the button again. That's what I am looking
for my application.
Any thoughts or similar idea will be helpful.
Thanks,
J Smith