Sign In  Sign Up Live-Chat

Dropdowns in InfoPath 2007

Last post 07-13-2008, 12:23 PM by shart. 2 replies.
Sort Posts: Previous Next
  •  07-13-2008, 10:30 AM 135337

    Dropdowns in InfoPath 2007

    I'm evaluating Aspose using v 1.3.0.0 with VS2008 and InfoPath 2007. The InfoPath form is using an XML file as datasource (since I couldn't get the xsd schema to work as per my other post). I am getting the same error that was listed at post http://www.aspose.com/community/forums/thread/89843/can-t-get-dropdowns-working-infopath-2007.aspx but it appears that that hotfix applied to a previous version of aspose.form. Is there a fix or workaround for this version?

    The generic error is Node: [] is not a xd control.

    The specific error is:

    Aspose.Form.FormException: Node:[<span class="xdComboBox xdBehavior_ComboBox" xd:xctname="combobox" style="WIDTH: 100%;LAYOUT-GRID:none;" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003"><xsl:if test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() &gt;= 12" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><select tabIndex="-1" disabled="true" style="WIDTH: 100%;VISIBILITY:hidden;WIDTH:100%;" /><span xd:xctname="PlainText" hideFocus="1" class="xdTextBox xdBehavior_ComboBoxTextField" xd:datafmt="&quot;number&quot;,&quot;numDigits:0;negativeOrder:1;&quot;" title="" xd:CtrlId="CTRL45" xd:binding="Mode" tabIndex="0"><xsl:attribute name="style">WIDTH: 100%;POSITION:absolute;WIDTH:0px;WORD-WRAP:normal</xsl:attribute><xsl:choose><xsl:when test="Mode=&quot;Truckload&quot;">Truckload</xsl:when><xsl:when test="Mode=&quot;LTL&quot;">LTL</xsl:when><xsl:otherwise><xsl:choose><xsl:when test="function-available('xdFormatting:formatString')"><xsl:value-of select="xdFormatting:formatString(Mode,&quot;number&quot;,&quot;numDigits:0;negativeOrder:1;&quot;)" /></xsl:when><xsl:otherwise><xsl:value-of select="Mode" /></xsl:otherwise></xsl:choose></xsl:otherwise></xsl:choose></span></xsl:if><select class="xdComboBox xdBehavior_Select" title="" size="1" xd:CtrlId="CTRL45" xd:xctname="dropdown" xd:binding="Mode" xd:boundProp="value"><xsl:choose xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() &gt;= 12"><xsl:attribute name="tabIndex">-1</xsl:attribute></xsl:when><xsl:otherwise><xsl:attribute name="tabIndex">0</xsl:attribute></xsl:otherwise></xsl:choose><xsl:attribute name="style" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">WIDTH: 100%<xsl:choose><xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() &gt;= 12">;POSITION:absolute;WIDTH:0px;</xsl:when><xsl:otherwise>;WIDTH: 100%;</xsl:otherwise></xsl:choose></xsl:attribute><xsl:attribute name="value" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:value-of select="Mode" /></xsl:attribute><option value="Truckload"><xsl:if test="Mode=&quot;Truckload&quot;" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if>Truckload</option><option value="LTL"><xsl:if test="Mode=&quot;LTL&quot;" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if>LTL</option></select></span>] is not a xd control

    Thanks

     
  •  07-13-2008, 12:01 PM 135339 in reply to 135337

    Re: Dropdowns in InfoPath 2007

    Could you attach the xsn file for our debugging?

    Thanks a lot


    Team Lead
    Aspose Guangzhou Team
    About Us

    Contact Us
     
  •  07-13-2008, 12:23 PM 135340 in reply to 135339

    Re: Dropdowns in InfoPath 2007

    Attachment: Present (inaccessible)
    Sure, here you go
     
View as RSS news feed in XML