Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / August 2005

Tip: Looking for answers? Try searching our database.

Managed code and script together in one form?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Huo - 31 Aug 2005 09:37 GMT
When I create VS.NET 2003 Infopath solution (with Infopath toolkit for VS.NET
2003), when I double click a button and click "Edit form code", I allways get
an event handler in VS.NET 2003.
Question: how can I get Infopath to generate a JScript event handler for my
button (or any other control)? Is it possible to "mix" managed code and
script together in one form?
Tnx!
Franck Dauché - 31 Aug 2005 20:31 GMT
Hi,

No, you can't mix them up.  Because you created a .Net-based IP form, why do
you want to write JS code?  Just write your code in VB.Net or C# depending on
which you picked when you first created your project.

Franck Dauché

> When I create VS.NET 2003 Infopath solution (with Infopath toolkit for VS.NET
> 2003), when I double click a button and click "Edit form code", I allways get
[quoted text clipped - 3 lines]
> script together in one form?
> Tnx!

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.