ronipats
asked on
asp.net, email, c#, framework 3.5
sir,
i have developed one application. i have designed three forms.
1) for sending email
2) for importing data from excel sheet.
3) for inserting and retrieveing bulk records to sql server2008.
whenever i do any process/task on this form. i want to disable submit button until the process gets over.
kindly suggest me how to do this. (with and without use of ajax).
thanks
i have developed one application. i have designed three forms.
1) for sending email
2) for importing data from excel sheet.
3) for inserting and retrieveing bulk records to sql server2008.
whenever i do any process/task on this form. i want to disable submit button until the process gets over.
kindly suggest me how to do this. (with and without use of ajax).
thanks
ASKER
sir,
example in above link works fine. Here thread is used. Now how to calculate the total processing time for (sending email - as it may vary based on internet speed)
(for reading excel file - as it may vary based on no of records in file) and (for inserting and retriving record in sql server).
here in above example time of 1000 ms is give in thread to get sleep. How can i calculate processing time in all above three case.
thanks
example in above link works fine. Here thread is used. Now how to calculate the total processing time for (sending email - as it may vary based on internet speed)
(for reading excel file - as it may vary based on no of records in file) and (for inserting and retriving record in sql server).
here in above example time of 1000 ms is give in thread to get sleep. How can i calculate processing time in all above three case.
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This snippet may help :)
http://aspsnippets.com/Articles/Disable-Button-before-Page-PostBack-in-ASP.Net.aspx