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
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.