New error R1 2020

4 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    458 posts
    Member since:
    Feb 2007

    Posted 14 May 2020 Link to this post

    Hi,

     

    For years I used the following code:

     

                Dim dropDown As RadToolBarDropDown = New RadToolBarDropDown("PageSize")
                dropDown.CssClass = "perPageDropDown"
                dropDown.EnableImageSprite = False
                dropDown.Text = GetGlobalResourceObject("Insight", "Per pagina")
                dropDown.ToolTip = GetGlobalResourceObject("Insight", "Per pagina")
                RadFileExplorer1.ToolBar.Items.Add(dropDown)

     

    But after upgrading to R1 2020 i get the error:

     

    Bericht: Value property is not supported by RadToolBarDropDown

    Stack Trace:
    at Telerik.Web.UI.RadToolBarDropDown.get_Value() at Telerik.Web.UI.RadFileExplorer.ConfigureToolbarButtons() at Telerik.Web.UI.RadFileExplorer.ControlPreRender() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

     

    Any clues?

    Marc

  2. Vessy
    Admin
    Vessy avatar
    2334 posts

    Posted 18 May 2020 Link to this post

    Hi Marc,

    I tested RadFileExplroer with the provided snippet, but the dropdown was properly added at my end. Can you, please, share some more details about the scenario in which the error is thrown?

    • What was version of the controls you were using prior the upgrade to R1 2020?
    • In which moment of the page life-cycle are you configuring the Toolbar?
    • Can you send me a simple page containing the setup needed to replicate the problem?

    Below you can see the setup I used for my test:

    		<telerik:RadFileExplorer RenderMode="Lightweight" runat="server" ID="FileExplorer1" Width="595px" Height="350px"
    			AllowPaging="true" PageSize="10">
    			<Configuration EnableAsyncUpload="true" ViewPaths="~/FileExplorer/Examples/Overview/images"
    				UploadPaths="~/FileExplorer/Examples/Overview/images" DeletePaths="~/FileExplorer/Examples/Overview/images"></Configuration>
    		</telerik:RadFileExplorer>

    Protected Sub Page_Load(sender As Object, e As EventArgs)
        Dim dropDown As RadToolBarDropDown = New RadToolBarDropDown("PageSize")
        dropDown.CssClass = "perPageDropDown"
        dropDown.EnableImageSprite = False
        'dropDown.Text = GetGlobalResourceObject("Insight", "Per pagina")
        'dropDown.ToolTip = GetGlobalResourceObject("Insight", "Per pagina")
        FileExplorer1.ToolBar.Items.Add(dropDown)
    End Sub

    Regards,
    Vessy
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
  3. Fit2Page
    Fit2Page avatar
    458 posts
    Member since:
    Feb 2007

    Posted 19 May 2020 in reply to Vessy Link to this post

    Hi Vessy,

     

    I have isolated the error and could reproduce it with your testcode.

    Coming from 2018.3.910 upgrading to 2020.2.512 the error occurs.

    Please check.

    Marc

  4. Peter Milchev
    Admin
    Peter Milchev avatar
    880 posts

    Posted 22 May 2020 Link to this post

    Hello Marc,

    Thank you for the details, we managed to track down the issue and indeed this is a regression as of R1 2020.

    I have logged the new issue in our feedback portal and we will do our best to fix it for the upcoming R2 2020  Service Pack in mid-June.

    As a token of gratitude for helping us identify the issue, we have updated your Telerik points.

    Regards,
    Peter Milchev
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top