Completed
Last Updated: 22 Feb 2016 11:46 by Steffen
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 25 Jan 2016 12:11
Category: Editors
Type: Bug Report
1
FIX. RadTextBoxControl/ RadAutoCompleteBox - ArgumentNullException when appending text
To reproduce:

public Form1()
{
    InitializeComponent();
    this.radAutoCompleteBox1.AppendText("abc;");
}

Workaround: append the text in the Form.Load event.

private void Form1_Load(object sender, EventArgs e)
{
    this.radAutoCompleteBox1.AppendText("abc;");
}
Attached Files:
3 comments
Steffen
Posted on: 15 Feb 2016 05:48
Hi Stefan,

thanks for the reply. 

Problem was/is I would like to do everything in the constructor... but it works like you suggests :)
ADMIN
Stefan
Posted on: 10 Feb 2016 09:22
Hi Steffen,

The workaround should be applied in the Form.Load event. You should subscribe to it and instead of appending the text in the form's constructor, you should append it in the Load event handler. 

I hope this helps.
Steffen
Posted on: 28 Jan 2016 13:34
Same problem... but struggling how to apply the workaround :(