We have a C# web application.
I am trying to have the tab skip over a look up property on a detail view in edit mode. Years ago one of our developers submitted the following support ticket- http://www.devexpress.com/Support/Center/Question/Details/Q208313. While a similar solution appears to work with other property editor types, it does not appear to work with look up property editors anymore. Could you please advise how to do this in more recent versions of XAF? I have provided a snippet of the code we are currently trying to use to implement this functionality below.
C#protected override void SetupControl(WebControl control)
{
base.SetupControl(control);
if (ViewEditMode == ViewEditMode.Edit)
{
ASPxLookupDropDownEdit aspxDropDown = control as ASPxLookupDropDownEdit;
if (aspxDropDown != null)
{
// Turn off tab stop
ASPxComboBox aspxCombo = aspxDropDown.DropDown;
aspxCombo.TabIndex = -1;
}
}
}
Thank you
Randy
Hello Randy,
I tested this code with the latest version, but it also did not work in my tests. Give me some time to research the cause of this behavior. Your patience is highly appreciated.