Views - Greg Collins Sign in | Join | Help in Current Tags Greg Collins Tutorials (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads This Blog Home About Syndication RSS Atom Comments RSS Recent Posts Swap the AD Alias and Name Fields in Place Create a Split Public/Private Form Display a Save As Dialog Box Highlight the Active Field Use the SharePoint '[Me]' Filter with a Promoted Property Tags Active Server ADWS Alias ASPX Background Borders Bugs Bullets and Numbering Buttons Cache Cascading Check Boxes Code concat() Conditional Formatting Conditional Visibility copy-of count Cross-Domain current Data Validation Debugging DisplayName domEventHandlers E-Mail Error Errors Events Expression Boxes Extract Form Files File Extension File Types Filters Focus Footer Formatting Forms Full Trust GetNamedNodeProperty Greg Collins Header Help Hyperlinks Internet Explorer Lists Managed Code Me Namespaces New NewFromSolution NewFromSolutionWithData number Numbered Lists OnAfterChange OnClick OnContextChange OnLoad OnSwitchView Operating System Option Buttons Outlook Picture Pictures position preceding preceding-sibling Preserve Code Blocks Printing processing-instructions Promoted Property References RegForm Repeating Sections Repeating Tables Rich Text Boxes Roles Rules Save As Schema Script Secondary Data Sources Sections Security SetNamedNodeProperty SharePoint SQL Style Sheets Submit Task Panes Template Text Boxes Tile Views Visual Studio Warning Windows Explorer Workarounds xdExtension xdXDocument XPath Archives October 2009 (1) April 2009 (1) March 2006 (1) November 2005 (1) September 2005 (1) July 2005 (4) June 2005 (24) March 2005 (2) January 2005 (1) November 2004 (1) October 2004 (1) September 2004 (6) August 2004 (5) July 2004 (20) June 2004 (5) Greg Collins Browse by Tags All Tags » Views (RSS) Bugs Check Boxes Code Conditional Formatting Conditional Visibility Expression Boxes OnLoad Rules Style Sheets Workarounds Switch Views During the OnLoad Event InfoPath provides the SwitchView method to allow you to programmatically switch views from within your code. But SwitchView is a method of the View object, which does not exist until after the OnLoad event has completed. Any attempt, therefore, to use... Posted Jun 27 2005, 03:16 PM by Greg Collins with | with no comments Filed under: OnLoad, Code, Views Switch Views via Code and Rules There will be times when you will want to switch views during unsupported events, such as the OnAfterChange event. Due to technical reasons in the underlying platform, InfoPath only allows you to switch views during the OnLoad event and the OnClick event... Posted Jun 10 2005, 03:04 PM by Greg Collins with | with no comments Filed under: Rules, Code, Views Hide a Check Box Using Conditional Visibility Check Box and Option Button controls have very limited conditional formatting choices. In fact, the InfoPath UI provides only one conditional formatting choice for these two controls: disable. But disabling a control is not always the right choice. In... Posted Jun 09 2005, 10:37 AM by Greg Collins with | with 1 comment(s) Filed under: Views, Check Boxes, Conditional Visibility Add a Custom Style Sheet to a View InfoPath view .xsl files contain three or four standard internal style sheets, depending on whether you have specified a color scheme. These can be identified by the attributes controlStyle='controlStyle' , tableEditor="TableStyleRulesID" ,... Posted Jun 07 2005, 01:58 PM by Greg Collins with | with 14 comment(s) Filed under: Views, Style Sheets Bringing Expressions Out of the Box I uncovered this problem on 2004.09.17. I actually noticed it happening several weeks earlier, but didn't have the time then to find out what was going on. I've reported this problem to Microsoft. In order to avoid numerous potential problems... Posted Sep 17 2004, 04:44 PM by Greg Collins with | with no comments Filed under: Rules, Views, Expression Boxes, Conditional Formatting, Workarounds, Bugs Too Lazy to Switch Views STATUS: Fixed in InfoPath 2003 SP1 DESCRIPTION: While working on a project for Microsoft, Patrick Halstead and I were using some complex Open Rules and were having trouble getting things to work right. So, under the pressure of a deadline, we decided... Posted Jul 01 2004, 04:37 PM by Greg Collins with | with no comments Filed under: OnLoad, Rules, Views, Workarounds, Bugs Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.