Upload

5 posts, 0 answers
  1. Raffaele
    Raffaele avatar
    3 posts
    Member since:
    Feb 2012

    Posted 18 Apr 2012 Link to this post

    Hi support,
    I have a trial version of RadControls for ASP.NET AJAX
    I have developed a file explorer control into sharepoint web part and i use into configuration a network path share.

    The control have a problems with upload.
    1)sometimes the upload form show empty if i change the page and return in file explorer file upload show correctly.

    2)in load method i set the property of fileexplorer

    FileExplorer1.Configuration.ViewPaths = paths.ToArray()

     

    FileExplorer1.Configuration.UploadPaths = paths.ToArray();

    FileExplorer1.Configuration.DeletePaths = paths.ToArray();

    FileExplorer1.Configuration.SearchPatterns =

     

    new[] { "*.*" };

    FileExplorer1.Configuration.ContentProviderTypeName =

     

    typeof(CustomFileSystemProvider).AssemblyQualifiedName;

    but when i try set FileExplorer.Upload.MaxFileInputsCount
    FileExplorer.Upload is null

    why?

    Thx


  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 20 Apr 2012 Link to this post

    Hi Raffaele,

    You can experience this error in case where UploadPaths property of RadFileExplorer is not set or is set to an empty array ( UploadPaths = new array[0]). In such cases, the Upload control is not visible and the Upload property of RadFileExplorer returns null.

    To avoid this you should modify apply modifications to the Upload control only during initial page load, for subsequent postbacks the settings will be applied from the viewstate.
    if(!IsPostBack)
        RadFileExplorer1.Upload.MaxFileInputsCount = 1;

     

    Regards,
    Dobromir
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Raffaele
    Raffaele avatar
    3 posts
    Member since:
    Feb 2012

    Posted 20 Apr 2012 Link to this post

    Ok, i try.
    For question number 1 have you a response? 
  5. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 23 Apr 2012 Link to this post

    Hi Raffaele,

    Please accept my apologies for missing your first question.

    The observed behavior is caused by a minor bug in RadFileExplorer related to changing UploadPaths property dynamically. This issue is already handled and fix will be available with the next internal build (or in the next official release). Unfortunately, I am not able to provide suitable workaround for this problem.

    Kind regards,
    Dobromir
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Raffaele
    Raffaele avatar
    3 posts
    Member since:
    Feb 2012

    Posted 23 Apr 2012 Link to this post

    Thanks for your response.

    Kind Regards
    Raffaele.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017