Hi harikesani,
1. If you want to valid the upload file size at client side, please try aip " CuteWebUI_AjaxUploader_OnSelect".
- <script>
- function CuteWebUI_AjaxUploader_OnSelect(files) {
-
- for (var i = 0; i < files.length; i++) {
- if (files[i].FileSize > 2000000)
- alert("file to large!");
- files[i].Cancel();
-
- }
- }
- </script>
2. The multiple partial requests function is the silverlight plug-in function, if you do not need it, please disable the silverlight upload mode, like below. uploader1 is the upload control id.
- protected override void OnLoad(EventArgs e)
- {
- uploader1.SetAdvancedOption(UploaderAdvancedOption.NoSilverlight, "true");
- base.OnLoad(e);
- }
Regards,
Ken