public RadForm1()
{
InitializeComponent();
this.radTextBox1.ShowEmbeddedLabel = true;
this.radTextBox1.EmbeddedLabelText = "Enter name:";
}
private void RadForm1_Shown(object sender, EventArgs e)
{
this.radTextBox1.Focus();
}
Hi Keven,
A possible workaround for this behavior is to focus the control first and then enable the embedded label.
public Form1()
{
InitializeComponent();
this.radTextBox1.ShowEmbeddedLabel = false;
this.radTextBox1.EmbeddedLabelText = "Embedded Label Text";
this.Shown += Form1_Shown;
}
private void Form1_Shown(object sender, EventArgs e)
{
this.radTextBox1.Focus();
this.radTextBox1.ShowEmbeddedLabel = true;
}
Regards,
Dinko | Tech Support Engineer
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.