HI
I am using WebUpload Control but it is not working properly.
When I made WebUpload.Enabled = false it's not getting disabled.
When I made WebUpload.Visible = false on server side it's working but once is visible false, on making WebUpload.Visible = true on server side it remains false and I am not able to view the control.
If anybody know this issue, kindly guide me.
Thanks
Hello sheeeraz001 ,
Thank you for your interest in WebUpload.
The WebUpload control depends on the following NetAdvantage™ for ASP.NET widgets – igButton igBrowseButton, igProgressBar and the ajaxQueue plugin. These widgets are included with the WebUpload control so you have them available by default.
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1?page=WebUpload_Known_Issues.html
In this situation I guess that you are trying to disable the igBrowseButton.
This can be done in the below way:
<link href="ig_ui/themes/ig/jquery.ui.custom.css" rel="stylesheet" type="text/css" />
<link href="ig_ui/themes/base/ig.ui.min.css" rel="stylesheet" type="text/css" />
<script src="ig_ui/js/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="ig_ui/js/jquery-ui.min.js" type="text/javascript"></script>
<script src="ig_ui/js/min/ig.ui.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(window).load(function () {
$("#igUpload1_ibb").igBrowseButton('option', 'disabled', true);
$("#igUpload1_ibb").igBrowseButton('option', 'labelText', 'DisabledButtonText');
})
</script>
<ig:WebScriptManager ID="WebScriptManager1" runat="server">
</ig:WebScriptManager>
<ig:WebUpload ID="igUpload1" runat="server">
</ig:WebUpload>
Let us know if you have further questions.
Thanks for the reply
<script src="Scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
<script src="Scripts/jquery-ui-1.8.14.custom.min.js" type="text/javascript"></script>
<script src="Scripts/jquery-ui.min.js" type="text/javascript"></script>
<script src="ig_ui/js/ig.ui.upload.js" type="text/javascript"></script>
if I do not use this files Upload control give runtime exception. "Java Script is not loaded"
Secondly there is issue in WebUpload Control it does not work well for AsyncPostback it disapprears.
When there is full Postback it works fine.
Kindly help me for that.
I have posted an issue on this link please check and help me out
http://community.infragistics.com/forums/p/58174/296209.aspx#296209
Regards
Sheeraz
Hello
Miroslav has answered your questions in the other forum thread:
http://community.infragistics.com/forums/p/58174/296209.aspx#296418