Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Blog Post : Creating Complex InfoPath Controls in C#

71 views
Skip to first unread message

Bob Mixon

unread,
Dec 19, 2006, 12:38:23 AM12/19/06
to
Greetings all,

I read the post titled "Creating Complex InfoPath Controls in C#" on the
InfoPath blog today and have a question. Since the approach is to create
an ActiveX control, will this work when deploying the same form to a browser
using Form Services?


Bob Mixon [SPS MVP]
http://www.BobMixon.com


Oli

unread,
Feb 14, 2007, 4:31:13 PM2/14/07
to
"Bob Mixon" wrote:
> I read the post titled "Creating Complex InfoPath Controls in C#" on the
> InfoPath blog today and have a question. Since the approach is to create
> an ActiveX control, will this work when deploying the same form to a browser
> using Form Services?

Ping!

Yet another way to formulate the question (for the benefit of those
searching the web/forums using different terms): is there an interface we can
implement to render a complex InfoPath control as HTML? (such as WebControl's
Render method)

Oli

unread,
Mar 1, 2007, 12:22:05 PM3/1/07
to

FYI, we now have an answer from Alex (Weinstein?) on the InfoPath blog:

"""
I'm sorry, there really is absolutely no way to do this. (...) There aren't
any interfaces you could implement. No ActiveX or other custom control will
work in a browser form, period. This is currently a by-design restriction; we
are carefully considering improving this in v.Next.
(...)
However, there's a workaround: host a browser-enabled InfoPath form in a
custom ASPX page by using the XmlFormView control, and place your custom
control into that hosting page. Then, configure events between the form and
the hosting page appropriately.
"""
Source:
http://blogs.msdn.com/infopath/archive/2007/02/28/using-the-contact-selector-control.aspx#comments


Here's to hoping we can augment InfoPath Form Server in "Office 2011" (or
whenever v.Next will be) and that this information helps others wanting to do
the same.

Cheers,
- Oli

0 new messages