Hi,
I have a form with RadComboBox. I have set EmptyMessage for RadComboBox. I need to keep that ComboBox focused when the page is loaded and start typing.
I tried followings.
in Page load event
1.
2.
In 1st method RadComboBox is focused but EmptyMessge is not cleared. when we type, "EmptyMessage" also remains.
In 2nd method all work fine only in IE. but not in FireFox or Chrome.
Can anybody help regarding this matter ?.
Thank you,
Dinesh
I have a form with RadComboBox. I have set EmptyMessage for RadComboBox. I need to keep that ComboBox focused when the page is loaded and start typing.
I tried followings.
in Page load event
1.
this
.Form.DefaultFocus = RadComboBox1.ClientID;
2.
RadAjaxManager am = RadAjaxManager.GetCurrent(
this
);
am.FocusControl(RadComboBox1.ClientID +
"_Input"
);
RadScriptManager1.SetFocus(RadComboBox1);
In 1st method RadComboBox is focused but EmptyMessge is not cleared. when we type, "EmptyMessage" also remains.
In 2nd method all work fine only in IE. but not in FireFox or Chrome.
Can anybody help regarding this matter ?.
Thank you,
Dinesh