Disable Infopath field /control programmatically - InfoPath Dev
in

InfoPath Dev

Disable Infopath field /control programmatically

Last post 04-20-2005 11:35 PM by Agni Jonnalagadda. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-20-2005 09:18 PM

    • deepak
    • Not Ranked
    • Joined on 04-21-2005
    • India
    • Posts 1

    Disable Infopath field /control programmatically

    I working on a workflow in infopath form. I am using SP1 with infopath. Coding in being done in C#. I want to disable / enable some of the controls programmatically in .NET. How to achieve this?

    Deepak
  • 04-20-2005 11:35 PM In reply to

    Re: Disable Infopath field /control programmatically

    We cannot disable/enable controls programatically. Because you donot have any reference to the Infopath UI controls in the code.

    But there is a way that you can achieve this,
    We should make the conditional formatting on a control in the Infopath design based on a secondary xml(dataconnection) node value. And set that secondary xml node value in the code.
    Hope this helps.

    Agni
    InfopathDev India
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.