Declined
Last Updated: 13 Jun 2018 07:05 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 27 Oct 2017 06:34
Category:
Type: Bug Report
4
FIX. RadMenu/RadPopupEditor - Validating event is not fired when a RadTextBoxElement is added to a RadMenuContentItem
Note:  this problem is reproducible with RadTextBoxControl as well. The Enter and Leave events also don't fire when RadTextBoxControl is inside a RadPopupContainer

Resolution:

Case 1:
RadTextBoxElement is not a control and do not have validation events. Use RadTextBox with RadMenuHostItem instead:

RadTextBox tb = new RadTextBox();
RadMenuHostItem item = new RadMenuHostItem(tb);
tb.Validating += Tb_Validating;
item.MinSize = new Size(50, 20);
radMenu1.Items.Add(item);

Case 2:

RadPopupEditor has message filter which is responsible for closing the popup and it intercept the leave and enter messages. Use GotFocus and LostFocus instead.
1 comment
ADMIN
Dimitar
Posted on: 13 Jun 2018 07:05
Resolution:

Case 1:
RadTextBoxElement is not a control and do not have validation events. You can use RadTextBox with RadMenuHostItem instead:

RadTextBox tb = new RadTextBox();
RadMenuHostItem item = new RadMenuHostItem(tb);
tb.Validating += Tb_Validating;
item.MinSize = new Size(50, 20);
radMenu1.Items.Add(item);

Case 2:

RadPopupEditor has message filter which is responsible for closing the popup and it intercept the leave and enter messages. You can use GotFocus and LostFocus instead.