clientside validation error

4 posts, 0 answers
  1. Albert Shenker
    Albert Shenker avatar
    586 posts
    Member since:
    Mar 2004

    Posted 27 Oct 2010 Link to this post

    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>
  2. Yana
    Admin
    Yana avatar
    4993 posts

    Posted 01 Nov 2010 Link to this post

    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
  3. Albert Shenker
    Albert Shenker avatar
    586 posts
    Member since:
    Mar 2004

    Posted 15 Nov 2010 Link to this post

    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.
  4. Yana
    Admin
    Yana avatar
    4993 posts

    Posted 15 Nov 2010 Link to this post

    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
Back to Top