-
well enter does take you to next line, you can set the height of the text box, and then it wont expand beyound that, but it will give you scrolls,
I am not sure however if you can limit the textbox to contain only three line unless of course with a bit of coding
-
Yes fileName gives you the file name, you will need to add references. On my code i have below references
using Microsoft.Office.InfoPath;
using System;
using System.Xml;
using System.Xml.XPath;
using System.Text;
using System.Security.Cryptography;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using ...
-
Access denied page is Sharepoint page and can be customized. The file is present at sharepoint server at below path:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS
NOTE: since it is a shared file it will reflect throught, unless other wise specified.
-
string attachedFile = MainDataSource.CreateNavigator().SelectSingleNode("attachment control XPATH", NamespaceManager).Value;
Encoding _encoding = Encoding.Unicode;using (MemoryStream _memoryStream = new MemoryStream(Convert.FromBase64String(attachedFile)))
{BinaryReader _theReader = new BinaryReader(_memoryStream);
byte[] ...
-
try setting your form to full trust also sign the form
open the template -> go to tools -: form options -> Security and trust
Set the security level to full trust
also sign the form template
-
what are you trying to achieve by
XPathNavigator(xnFormName = null)
i think you should try
xnFormName= Xndoc.SelectSingleNode("XPATH",this.NamespaceManager);
if (xnFormName == null)
{
//your code
}
-
XPathNavigator xnFormName = null;
XPathNavigator xnDoc = null;xnDoc = this.MainDataSource.CreateNavigator();
xnFormName = xnDoc.SelectSingleNode("Field_Xpath_Path", this.NamespaceManager);
variable_string= xnFormName.Value;
//To get field xpath -> in design task -> Data source -> right click on the field and click Copy ...
-
conditional formatting holds for a field on a view, they dont hold across views, so it might be that you removed conditional formatting on a field in one view. you will need to remove conditional formatting per view.
-
Data validations hold throughout views, Datavalidation on some field will be failing, and that field might not be even visible on the current view.
you should be able to get the field name by clicking the show details
-