We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

PopupControlContainer

I'm having issues with a standard NumericUpDown control inside of a PopupControlContainer.

I set focus to the NumericUpDown control when you click on it. This focused control seems to be disregarding any input. For example, when you press the left or right arrow, instead of shifting the caret over one, it moves the menu over one. I've tried getting the keyup event and my numeric control is receiving them. It seems like something is just stopping the input from going through to the focused control. I've messed around with IgnoreKeys but it doesn't have any noticeable effect.

I'm using Essential Studio version 4.2.0.37



5 Replies

AD Administrator Syncfusion Team March 14, 2008 08:50 AM UTC

Hi,

Thank you for your interest in Syncfusion Products.

I am afraid I was not able to reproduce the issue. To set focus to the numericUpDown control, please use the numericUpDown1.Focus() in the popupControlContainer_Popup Event. It numericUpDown control works fine after that.

Please have a look at the sample in this link http://websamples.syncfusion.com/samples/Tools.Windows/F72326/main.htm and if still the issue exists, could you please try reproducing it in the above sample or send us the reproducing steps so that we could sort out the cause of the issue and provide you a solution?

Regarding IgnoreKeys, please check if the code snippet provided in this forum is useful:
http://www.syncfusion.com/support/forums/message.aspx?MessageID=70794

Regards,
Anupama




AD Adam March 14, 2008 12:06 PM UTC

Ok it appears that my problem has to do with calling a popup from a toolbar.

I reproduced it in the above program by creating a MainFrameBarManager, adding a ParentBarItem on it, and adding a DropDownBarItem onto that ParentBarItem. Then I set the DropDownBarItem's PopupControlContainer property to the existing popupControlContainer1.

Now when the popup is shown from the menu, the numericUpDown1 does not do anything upon keypresses.



AD Administrator Syncfusion Team March 19, 2008 02:53 AM UTC

Hi,

The PopupControlContainer works fine with DropDownBarItem also.
Please refer the video here:
http://websamples.syncfusion.com/samples/Tools.Windows/F72326/72326Video.zip


Can you please try reproducing the problem in the below sample and send it to us so that we can work in depth and send a better solution.

http://websamples.syncfusion.com/samples/Tools.Windows/F72326/main.htm



Regards,
Anupama




AD Adam March 19, 2008 11:21 AM UTC

Ok, I've attached an example where this is a problem.

>Hi,

The PopupControlContainer works fine with DropDownBarItem also.
Please refer the video here:
http://websamples.syncfusion.com/samples/Tools.Windows/F72326/72326Video.zip


Can you please try reproducing the problem in the below sample and send it to us so that we can work in depth and send a better solution.

http://websamples.syncfusion.com/samples/Tools.Windows/F72326/main.htm



Regards,
Anupama






F72326-modified.zip


AD Administrator Syncfusion Team March 24, 2008 12:17 PM UTC

Yes, I could reproduce the issue in v4.2.0.37. It is a known issue in our earlier versions and has been resolved in our latest version 6.1.0.34.

Please consider an upgrade to our latest version.
You can download it from http://www.syncfusion.com/downloads/latestversion/default.aspx
For license key, please contact our sales team.

Please let me know if you need any other information.

Regards,
Anupama



Loader.
Live Chat Icon For mobile
Up arrow icon