Search This Blog

Thursday, August 25, 2011

How to avoid copy, paste and backspace error on AsyncFileUpload control in

Use below code to avoid above problems

<ajax:AsyncFileUpload runat="server" ID="flTripImages"
OnClientUploadStarted="SetTermAgrement" OnUploadedFileError="flTripImages_UploadedError"                                                OnClientUploadComplete="EnableCheckBox"
oncontextmenu="return false;" />

use oncontextmenu="return false;" to avoid the contextmenu on the upload control, this will take care of above problems

Post a Comment

Popular Posts