I am unable to disable radUpload during client-side pageLoad(). What I want to do is during pageLoad() disable the control and then enable after two or more rows in a grid on the page have been selected.
Here is the tag for the radUpload control and pageLoad() function:
Here is the tag for the radUpload control and pageLoad() function:
<
telerik:RadUpload ID="RadUploadBasicFile" runat="server" Skin="Telerik">
</telerik:RadUpload>
function
pageLoad() {
var basicUpload = $find('<%=RadUploadBasicFile.ClientID%>');
if (basicUpload != null)
basicUpload.Enabled =
false;
}
I did verify that it is hitting the pageLoad() function and the basicUpload.Enabled line. I also tried the set_enabled() method for the radupload object, but that didn't work either.
Any ideas how I can disable the control client-side. I did read on another thread that if you disable a control on the server-side that you cannot enable on the client-side.
I am using RadControls for ASP.NET AJAX Q3 2008.
Thanks.