The upload/insert process may only take a few seconds, but even a few seconds on the web is a noticeable wait. When testing, some users clicked the upload button repeatedly; it was useful to provide a visual clue that the upload was underway. For that matter, it was useful to hide the upload button altogether, preventing multiple clicks. The control presented here, a subclass of the
Button
control, demonstrates how client-side JavaScript code encapsulated in an ASP.NET server control can provide such functionality conveniently.Click here for details ......
No comments:
Post a Comment