Last Updated: 09 Apr 2020 15:43 by ADMIN
Release R2 2020 (LIB 2020.1.413)
Created on: 26 Mar 2020 05:02
Category: TextBox
Type: Bug Report
RadTextBox: Program crash when setting Text = Nothing, ShowClearButton = True, and placing the textbox in another PageView tab

Hi team,


Please refer to the attached project for demonstration. To reproduce the crash:

1. Add a PageView control with two pages

2. Place the RadTextBox control in the second page (but launch the program in the first one)

3. Set the RadTextBox.ShowClearButton to True

4. Programmically set RadTextBox.Text = Nothing when the TextBox is not in the current page (won't crash if .Text="" or something else)

5. Switch to the page containing the TextBox -> crash.


Attached Files:
1 comment
Nadya | Tech Support Engineer
Posted on: 26 Mar 2020 14:52

Hello Yusi,

The provided information and project are greatly appreciated. I confirm it is an issue. Here is the feedback item for your reference. I have also updated your Telerik Points.

To work around this I can suggest you to select each page programmatically in the Load event of the form оr just set the RadTextBox1.Text property to String.Empty instead of Nothing. Please refer to the following code snippet:

Private Sub RadButton2_Click(sender As Object, e As EventArgs) Handles RadButton2.Click
        RadPageView1.SelectedPage = RadPageViewPage2
        RadTextBox1.Text = String.Empty
    End Sub
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Me.RadPageView1.SelectedPage = RadPageViewPage2
        Me.RadPageView1.SelectedPage = RadPageViewPage1
    End Sub

I hope this helps. If you have any other questions do not hesitate to contact us.

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.
Attached Files: