access view xsl elements using xpathnavigator - InfoPath Dev
in

InfoPath Dev

access view xsl elements using xpathnavigator

Last post 12-25-2006 05:47 PM by LinFeng. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-14-2006 12:58 PM

    access view xsl elements using xpathnavigator

    Hi,

    I want to access/modify the elements of the viewX.xsl with code. I failed to find any resources for this issue. Is it a part of the security scheme to prevent access to this xml file? I just need to change the visual rendering of the view. (Like setting it to readonly?)

    For example change the following attribute?
    <xsl:attribute name="contentEditable">false</xsl:attribute>

    thanks.
  • 12-14-2006 05:06 PM In reply to

    Re: access view xsl elements using xpathnavigator

    After reading some documents from msdn http://msdn2.microsoft.com/en-us/library/aa944854(VS.80).aspx), i found out that views of browser-enabled forms can not be manipulated using the view class. This seems to be possible only with infopath client, quote "This type or member can be accessed only from code running in forms opened in Microsoft Office InfoPath 2007." .

  • 12-25-2006 05:47 PM In reply to

    Re: access view xsl elements using xpathnavigator

    quote:
    Originally posted by enginarc

    After reading some documents from msdn http://msdn2.microsoft.com/en-us/library/aa944854(VS.80).aspx), i found out that views of browser-enabled forms can not be manipulated using the view class. This seems to be possible only with infopath client, quote "This type or member can be accessed only from code running in forms opened in Microsoft Office InfoPath 2007." .





    Hi Enginarc,

    I've done some test to switch the view of the Form which has mutiple views when it is opened in brwoser, the SwitchView method occur an exception.
    I wonder is it really no way to manipulate the views of the brwoser-enabled forms?
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.