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 figured it out! I was using the wrong class. I was using UltraPopupControlContainer and I should have been using PopupControlContainerTool.