I wasn't able to see the Patient Banner Control in the toolbox

Jan 19, 2010 at 9:51 AM

Hi!

I am trying to build an OBA application but I cant see the Patient Banner Control in the toolbox. It just dissapears when I am in an OBA app, because when I am in a windows forms app the Patient Banner Control appears.

How can I make it to appear in my OBA app toolbox ?

Jan 28, 2010 at 9:09 AM

hi dea398

We've taken a look at your issues and I have some information for you. I would say however that the control has not been designed ti work with OBA applications, so cannot rule out further issues.

The issue you describe above is caused by the presence of the following attribute on the Winforms version of the patient banner class:

[ToolboxItemFilterAttribute("System.Windows.Forms", ToolboxItemFilterType.Require)]

This attribute specifies that PatientBanner control can be used by designers that have matching code or attribute ('System,Windows.Forms'). Removing this attribute will make the icon in toolbox appear properly.

I hope that helps you to progress.

Regards

Tom Chapman

MSCUI Release Manager