Hi,
I am using TextEditor control and I have set a button using button right property.
Is there a way i can enable only the button on the texteditor when texteditor's enabled property is set to false.
I have tried the below code and it does not work. Appreciate a reply in this regard. Thanks!!!
bool findButton = txtUserID.ButtonsRight.Exists("txtUserIDButton");
{
((Infragistics.Win.UltraWinEditors.EditorButtonBase)(edtButton)).Enabled = true;
}
No, the Enabled property is on the base Control class, so nothing will receive focus when the control is disabled. Instead, you could try setting the editor to ReadOnly, which should still allow you to use the button.
-Matt
Thanks Matt for your Quick reply