This is a migrated thread and some comments may be shown as answers.

clientside validation error

3 Answers 89 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Albert Shenker asked on 27 Oct 2010, 03:44 PM
I am getting a javascript error "fileInput is undefined" when the radasyncupload control validats for file size on the client. Here is my declaration:

 
<script type="text/javascript">
                                    Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function() { return false; }
                                </script>
                                <telerik:RadAsyncUpload runat="server" 
                                                        ID="rauResume" 
                                                        Skin="Office2007" 
                                                                                                                ReadOnlyFileInputs="true" 
                                                                                                                MultipleFileSelection="Disabled"
                                                        MaxFileInputsCount="1"
                                                        MaxFileSize="409"
                                                        >
                                </telerik:RadAsyncUpload>

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 01 Nov 2010, 01:27 PM
Hello Albert,

This javascript error is already fixed, the fix will be available in Q3 release which is expected next week.  We're sorry for the caused inconvenience.

Regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 15 Nov 2010, 04:20 PM
I have upgraded to Q3 2010 and the issue has been resolved. Quick question.. is there a way to avoid having to register the Telerik.Web.UI.WebResource.axd handler in the web.config file using the exact version of Telerik.Web.UI? Having to do so means I have to alter (and more importantly have to remember to alter) the web.config file every time I upgrade versions of the the Telerik controls. This makes for a relatively fragile implementation.
0
Yana
Telerik team
answered on 15 Nov 2010, 05:08 PM
Hello Albert,

You don't need to specify the exact version, you can use RadScriptManager's smart tag to register it as demonstrated here.

Best regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
AsyncUpload
Asked by
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Answers by
Yana
Telerik team
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Share this question
or