Hi All,
I managed to create a custom control (treeview) and use it inside an infopath 2010 form template.
The last thing todo is make a property available in the property window of the control, inside the infopath form designer.
Can anybody tell me how to do this?
For example i want to fill in a ConnectionString in the infopath desginer, and pass this to the custom control.
In my custom control I have declared some public property's wit the Browsable and ComVisible attribute set to true.
But the property still doesnt show up in InfoPath.
When I create an empty windows form application, and use my custom control in there, the Connection String property is visible in the properties window.
So I think I must implement or do some infopath specific things in orde to expose the property to InfoPath?
Has anybody ever done this before?!
Thanks in advance!
Greetz
Hephie
I managed to create a custom control (treeview) and use it inside an infopath 2010 form template.
The last thing todo is make a property available in the property window of the control, inside the infopath form designer.
Can anybody tell me how to do this?
For example i want to fill in a ConnectionString in the infopath desginer, and pass this to the custom control.
In my custom control I have declared some public property's wit the Browsable and ComVisible attribute set to true.
But the property still doesnt show up in InfoPath.
When I create an empty windows form application, and use my custom control in there, the Connection String property is visible in the properties window.
So I think I must implement or do some infopath specific things in orde to expose the property to InfoPath?
Has anybody ever done this before?!
Thanks in advance!
Greetz
Hephie