Hiding a control through code - InfoPath 2003

Hiding a control through code in infopath

public bool ControlProperty()
{
return true;
}


In the property window of your InfoPath control, select Display tab, Click on conditional formatting button, then click add button, select Expression box in the 1st drop down box, and add the code xdExtension:ControlProperty() in the text box and select the property you want to set for that control and click ok.

Comments

Popular posts from this blog

ASP.NET website "Cannot read configuration file due to insufficient permissions" in IIS 7 and Windows Server 2008

Error occurred in deployment step 'Install app for SharePoint': The System Account cannot perform this action.

None of the selected features can be installed or upgraded. Setup cannot proceed since no