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

New error R1 2020

3 Answers 85 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 14 May 2020, 06:49 AM

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

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 18 May 2020, 04:49 PM

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.
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 19 May 2020, 12:09 PM

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

0
Peter Milchev
Telerik team
answered on 22 May 2020, 11:13 AM

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.
Tags
ToolBar
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Vessy
Telerik team
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Peter Milchev
Telerik team
Share this question
or