Search - InfoPath Dev Sign in | Join | Help 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 Search More Search Options Page 4 of 9 (82 items) « First ... < Previous 2 3 4 5 6 Next > ... Last » Re: Problem with XDocument.SetDirty(true) Hi Greg, I have still a little issue in relation with the deactivation of Save-Menu and button. I have send a new post for it. Seehttp://infopathdev.com/forums/topic.asp?TOPIC_ID=4058 So you can consider, that this problem is solved. By the way, isn't it possible to set the status of the post to ''solved'' or something like that? It would ... Posted to General (Forum) by zaphi on 01-09-2007 Disable Menu Bar Control "Save" Hi, I have some problems with disabling of menu bar control ''Save'' I have written the following code: var objCommandBars = Application.ActiveWindow.CommandBars; objCommandBars.FindControl(1,3).Enabled = false; The Save Button in the Standard toolbar is disabled -> good Tha Save Control in the Menu File is not disabled -> not ... Posted to General (Forum) by zaphi on 01-04-2007 Re: Problem with XDocument.SetDirty(true) Hi Shilpa, Thanks for your answer. You're right. SetDirty is no use in the Onload event handler. I have searched and realized why it was not working for one of my form template. ''Save and Save As'' was not selected in the form options. What I will do now is setting ''Save and Save As'' in the form options and deactivate the Save menu and button ... Posted to General (Forum) by zaphi on 01-04-2007 Re: Custom Pattern (problem with ampersand &) Hi Aruna, Thank you for your answer. To reply to your question, I validate the text box because the content will be used in the file name. This field is a supplier name and the ampersand (&) is very common. I just want to avoid to check the whole filename before saving. All character such *+/\:|<>?'' and ''space'' must be avoid at the data ... Posted to Controls (Forum) by zaphi on 01-04-2007 Re: Webexport Hi Matt I have done one step forwards. I have written the following code: var objCommandBars = Application.ActiveWindow.CommandBars; var objCommandBarControl = objCommandBars.FindControl(1,7721); objCommandBarControl.Control.Execute(); And the dialog window ''Web export'' is now opened, like I wanted. The default location is ''My ... Posted to General (Forum) by zaphi on 01-03-2007 Problem with XDocument.SetDirty(true) Hi, To keep sure, that the user save every change in a form, also by leaving with the red close-button, I have put the following instruction in the OnLoad event handler (JScript): XDocument.SetDirty(true); It works with one form template, but not in another one. Does anybody understand the problem? For the both templates, the forms are saved in ... Posted to General (Forum) by zaphi on 01-03-2007 Custom Pattern (problem with ampersand &) Hi, I'd like to validate data in a text box. I use the custom pattern in the data validation. I need to allow the character ''ampersand (&)'' in a text box, as e.g. [a-zA-Z0-9 @_\-&]* When I want to quit the Window ''Data Entry Pattern'', I have an error (pattern not valid) Thanks for your help. Best regards. Philippe Posted to Controls (Forum) by zaphi on 01-03-2007 Webexport Hi I need to open the Window ''Webexport'' with a button and to set a default location and filename (.mht), in the same way like the SetSaveAsDialogLocation and SetSaveAsDialogFileName methods. Can anybody help me? Best regards. Philippe Posted to General (Forum) by zaphi on 12-29-2006 Re: Avoid saving a form in SharePoint with same name Hi, Thank you for your help, but I am afraid, it is not exactly the answer to my problem. My form has to meet two conditions: 1. Avoid, that the new form will be saved with the same name as a form that already exists, because the old one would be overwritten. 2. The form must be saved several times in its life (after signing through several ... Posted to General (Forum) by zaphi on 12-27-2006 Avoid saving a form in SharePoint with same name Hi I have a form that I want to save in a SharePoint Form Library. The filename is built automatically with fields of the form. If the form is new, and the filename already exists, a warning should be prompted and the save-action should be interrupted. If the file is not new, it must be saved with the same name. I already tried to do it by ... Posted to General (Forum) by zaphi on 12-27-2006 Page 4 of 9 (82 items) « First ... < Previous 2 3 4 5 6 Next > ... Last » Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.