Declined
Last Updated: 13 Jun 2018 07:05 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 27 Oct 2017 06:34
Category: Menus
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.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
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.