Search - InfoPath Dev

InfoPath Dev

Search

Page 59 of 62 (616 items) « First ... < Previous 57 58 59 60 61 Next > ... Last »
  • Re: Infopath crashes

    Sorry for being late, Please add a try catch block around ''thisXDocument.UI.Alert(''Hello World'');'' and check out what exception it is throwing. Steps you follow here are 1. Add ''try catch'' block to the statement. 2. Compile the solution and Publish it. 3. Open the form from sharepoint. 4. Attach Infopath form to your code and put a ...
    Posted to Code (Forum) by Agni Jonnalagadda on 05-01-2005
  • Re: Getting Image From Custom Control

    I know one way how to do it in c# or vb.net i.e, Convert.ToBase64String() method, but I have never tried it with an image, I did it with regular files. Check out if there is a ''Convert'' class in VB6. Agni InfoPathDev India
    Posted to General (Forum) by Agni Jonnalagadda on 05-01-2005
  • Re: Creating Repeating Section At Run Time

    Hi Idisis, When you are getting DOM, you are using ''DataObjects'' as a method where as ''DataObjects'' is a property(variable) so your first statement should be ''XDocument.DataObjects[''Test Procedures''].DOM'' Also please check whether you have created your dataconnection to the sharepointlist properly. NOTE: From here on i will use c# Code ...
    Posted to General (Forum) by Agni Jonnalagadda on 04-30-2005
  • Re: Getting Image From Custom Control

    Hi Walter Gray, Welcome to the board! I am not sure whether it works but please try it out and let us know if it works. In your form schema have a field of type ''xsd:base64Binary''. And convert your image into a base64 format and set that value to the field that you created. Agni InfoPathDev India
    Posted to General (Forum) by Agni Jonnalagadda on 04-30-2005
  • Re: Unable to loop through a data list.

    Hi Richard, Welcome to the board. You made a small mistake in the following statement total = dom.documentElement.selectSingleNode(''dfs:dataFields/d:dtOrderTracking/@OrderVal'').value; //it is the in this line that causes the error You are placing ''i'' in between the string as part of the string, but value of ''i'' should go in place of ...
    Posted to General (Forum) by Agni Jonnalagadda on 04-30-2005
  • Re: Populate data on the form when it opens

    Hi Jason, Welcome to the board. Write your code in the onload method. Here is the the method where you need to write your code in [InfoPathEventHandler(EventType=InfoPathEventType.OnLoad)] public void OnLoad(DocReturnEvent e) { //Write your code here } This is the method that executes when the form is loaded. Note:Above method is ...
    Posted to Code (Forum) by Agni Jonnalagadda on 04-30-2005
  • Re: Filtering two listboxes

    Hi Ryan, Welcome to the board You need not write code in this scenario, you can solve this problem using xpath. Map comp_name list box to ''dsf:Version'' Have this filter on it ''not(preceding-sibling::dsf:Version/@Component= @Component)''. By doing this you are filering duplicates of the Components. Select ''Value'' and ''Dispaly name'' to be ...
    Posted to General (Forum) by Agni Jonnalagadda on 04-28-2005
  • Re: Infopath crashes

    Hi Christophe, Welcome to the board. Can you provide with more inforamtion here, please copy paste your c# Onclick funtion here. Probably you are hardcoding values which are not available when the form is published. Agni InfoPathDev India
    Posted to Code (Forum) by Agni Jonnalagadda on 04-28-2005
  • Re: Upgrade.XSL Bug???

    Usually if we want add more fields to schema we will add them as optional fields. If we want to enter values for these fields in the old forms, Then you need to have an optional section in the UI which is binded to the new field, properties for this section will be 1. Include the control in the form by default. 2. Allow users to delete the ...
    Posted to General (Forum) by Agni Jonnalagadda on 04-28-2005
  • Re: Where Do All the Attachments Go?

    File attachments will be there in the main DOM(thisXDocument.DOM), means this will be part of form XML. FYI File attachments are stored in base64 format in the XML. Agni InfoPathDev India
    Posted to General (Forum) by Agni Jonnalagadda on 04-28-2005
Page 59 of 62 (616 items) « First ... < Previous 57 58 59 60 61 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.