I am using a PopupControlContainer to display a usercontrol.
The control fires an event and here is the handler code:
UltraPopupControlContainer tool = UltraPopupControlContainer.FromControl(ctlColorSchedule);
tool.Close();
else
Debug.WriteLine("Tool is null");
And the Popup is not closing, I get the Tool is null message. The user control disapears, but the tool does not close. If I click on the tool, then it closes, but I am not getting the tool reference.
Is there something I am not doing in my usercontrol?
Thanks!
Bob
I was not able to repduce this issue. I would recommend submitting this issue to the support group: http://ko.infragistics.com/gethelp.
I'm not sure I understand the problem. Can you post a code snippet which shows the code you are using and also a screenshot of what happens after trying to close the popup? Thanks, this will help me determine what the issue is so that I can provide further assistance.
I figured it out! I was using the wrong class. I was using UltraPopupControlContainer and I should have been using PopupControlContainerTool.