Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Button Problem

Reply
Thread Tools

Button Problem

 
 
Rahul Borade
Guest
Posts: n/a
 
      01-05-2005

Hi,

I am facing one problem. I have 2 pages in my application.

Page1.aspx and Page2.aspx

On Page1.aspx I have one asp button. By clicking that button I redirect the
page to Page2.aspx. Page2.aspx page load event takes 30 seconds to execute.
So for that, I want to show a message to the User "Please wait while the
page executes ...".

For this, I have written a javascript function, which I call on button
click___

function Wait()
{
document.write("Please wait while the page executes ...");
}
The message can be seen properly, but the event never gets fire to server
because the document.write clears the page. Pease let me know any
alternative or solution to this problem. Thanks in advance...


 
Reply With Quote
 
 
 
 
Saravana
Guest
Posts: n/a
 
      01-05-2005
Check out this article for implementing progress page in asp.net.
http://www.aspnetpro.com/NewsletterA...200308bm_l.asp
http://support.microsoft.com/default...b;EN-US;837375

--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com


"Rahul Borade" <> wrote in message
news:...
>
> Hi,
>
> I am facing one problem. I have 2 pages in my application.
>
> Page1.aspx and Page2.aspx
>
> On Page1.aspx I have one asp button. By clicking that button I redirect

the
> page to Page2.aspx. Page2.aspx page load event takes 30 seconds to

execute.
> So for that, I want to show a message to the User "Please wait while the
> page executes ...".
>
> For this, I have written a javascript function, which I call on button
> click___
>
> function Wait()
> {
> document.write("Please wait while the page executes ...");
> }
> The message can be seen properly, but the event never gets fire to server
> because the document.write clears the page. Pease let me know any
> alternative or solution to this problem. Thanks in advance...
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ajax, changing text in a button, and button click problem Tim ASP .Net 0 07-23-2008 07:57 PM
image button click event fires before click event of button Purvi T ASP .Net 0 10-19-2004 06:19 AM
Radio button List problem: How to find value of Radio button list's Selected Item using javascript?? Hiten ASP .Net Web Controls 1 05-26-2004 10:32 AM
HTML Reset Button Doesn't work after postback with Submit button Chris Lane ASP .Net 4 11-17-2003 11:52 PM
JavaScript Access to Button in form tags (webcontrol or html button) Wes Weems ASP .Net 1 07-20-2003 05:27 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57