Hi,
When I set the .Checked property of a PopupControlContainer to TRUE, it doesn't mark the control as checked. Is it even possible to "check" a PopupControlContainer?
Please help, thank you.
The Checked property of any PopupToolBase-derived tool (including PopupControlContainerTool) is only used if the DropDownArrowStyle is set to SegmentedStateButton. This style allows the user to drop down the popup by clicking on the arrow portion of the segmented button and to toggle the checked state of the tool by clicking on the other portion of the segmented button.
Thanks for replying.
I set the DropDownArrowStyle to SegmentedStateButton and set the Checked property to true but it still won't "check mark" the control. I also tried setting the .Checked property to True on the ToolClick event but to no avail.
Additional Info: The popup control container is in a PopupMenuTool along with 3 StateButton tools that are contained in one Option set (the popup control container is not part of the option set). Not sure if this will be helpful but at least I'll put it out there.
After looking at the code, it looks like a popup tool will not display its checked state when it is in a menu. I guess this is so it can display its icon instead. However, the StateButtonTool has a MenuDisplayStyle property that lets you choose whether to display the icon or the checkmark in a menu, and it might make sense to add a similar property for popup tools. I would recommend reporting it to the support group, because it seems like a bug that you can't get the checked state to display in menus: http://es.infragistics.com/gethelp.
Thanks for your help.
I clicked on the link you sent me but I'm not sure where in the page i'd be able to report the bug. Please advise, thanks again.
Under the "Product Support" > "Request Developer Support Online" section there is a link where you can submit issues online. I have copied the link below:
http://devcenter.infragistics.com/Protected/SubmitSupportIssue.aspx