-
Hi All,
I am new to info path , what I want to do is like this
a simple asp.net page that have these textbooks :
Municipality ID, Municipality Name, Municipality Code
and a Button Called SendMail
and there is an info path application Form stored at a certain known place at my computer, assume it to be drive ...
-
I probably have some sort of super-duper King of all Infopaths installed... The box was unchecked when I looked.
-
go to form template
tools -> options -> comaptibility -> uncheck Design a form template that can be opened in a browser or infopath
and then try previewing the form
-
Hi Qazi,
When I try the button in preview mode, I still get the message that IP could not execute because there is an arror in the form template...
Thanks anyway!
Regards
-
in the function
use
this.Print();
instead of
XDocument.PrintOut();
-
Hi. I have changed the code and I am using this:
rptTblNAV = Me.MainDataSource.CreateNavigator()
rptTblNAV.SelectSingleNode("/my:AddRoom/my:rtbFloorsInUseGr1", ...
-
Hi Qazi,
Thanks for the suggestion, but it still doesn't work :(
I'm not sure if it is a client form of a browser enabled form, but I think it's a client form (infopath opens templates from a sharepoint library locally.
Regards,
-
try
this.Print();
Print functionality is avaibale only for client forms, it is not avaiable in browser enabled forms
-
Thanks Ted. Exactly what I was looking for.
-
Hi Hilary,
I've been trying to add the print button in IP 07 but I can't get it operational. IP keeps incisting that there is a fault in the code, and therefore it cannot excecute the action (or something like that).
The code I've inserted is
"function CTRL1206_5::OnClick(eventObj)
{
XDocument.PrintOut(); // Write your ...