Infopath Dialog Box aka Message Box - InfoPath Dev
in

InfoPath Dev

Infopath Dialog Box aka Message Box

Last post 03-17-2010 11:48 PM by tienhou87. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-16-2010 08:52 PM

    Infopath Dialog Box aka Message Box

     Hi All,

    Info Path Form have provide built in dialog box but it is just with OK button. Is there any way to write code in dialog box expression to make it YES NO type of messagebox rather than using code behind. Currently my form just can display message box with just OK inside only,

     

    Thanks,
    Hou

  • 03-16-2010 11:32 PM In reply to

    Re: Infopath Dialog Box aka Message Box

    for such cases i use (c# code)

    string abc =Microsoft.VisualBasic.Interaction.MsgBox("message",Microsoft.VisualBasic.MsgBoxStyle.YesNo,"title" ).ToString();

    if(abc.equals("Yes"))

    {

    //yes was pressed

    }

    else

    {

    //no was pressed

    }

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 03-17-2010 11:48 PM In reply to

    Re: Infopath Dialog Box aka Message Box

    hi..due to my sharepoint is standard version it doesn't support infopath form services.
    i have this error message

    The form template cannot be opened in Microsoft Office InfoPath because it includes code that requires a version of the Microsoft Common Language Runtime that is not currently installed. To open in the browser it must be republished as a browser-enabled form.

     What should i do?

    thanks for the guidance

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