Custom Control Properties


Joined
Oct 18, 2011
Messages
2
Reaction score
0
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
 
Ad

Advertisements

Joined
Apr 23, 2012
Messages
3
Reaction score
0
Would you be willing to post your code for creating this control?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top