Sign In  Sign Up Live-Chat

Dropdowns in InfoPath 2007

Last post 10-30-2008, 4:59 AM by uzzydon. 3 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
     
  •  10-30-2008, 4:59 AM 150158 in reply to 135340

    Re: Dropdowns in InfoPath 2007

    Did you get solution for this problem: Node: [] is not a xd control.
    I am having a similar kind of issue. The error message is:

    Node:[<div class="xdSection xdRepeating" title="" style="MARGIN-BOTTOM: 6px; WIDTH: 100%" align="left" xd:CtrlId="CTRL15" xd:xctname="choiceterm" tabIndex="-1" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003"><div>T Zone: <span class="xdTextBox xdBehavior_Formatting" hideFocus="1" title="" contentEditable="true" xd:CtrlId="CTRL16" xd:xctname="PlainText" tabIndex="0" xd:binding="Data/@tZone" xd:datafmt="&quot;number&quot;,&quot;numDigits:auto;negativeOrder:1;&quot;" xd:boundProp="xd:num" style="WIDTH: 130px"><xsl:attribute name="xd:num" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:value-of select="Data/@tZone" /></xsl:attribute><xsl:choose xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:when test="function-available('xdFormatting:formatString')"><xsl:value-of select="xdFormatting:formatString(Data/@tZone,&quot;number&quot;,&quot;numDigits:auto;negativeOrder:1;&quot;)" /></xsl:when><xsl:otherwise><xsl:value-of select="Data/@tZone" /></xsl:otherwise></xsl:choose></span></div><div>Data: <span class="xdTextBox xdBehavior_Formatting" hideFocus="1" title="" contentEditable="true" xd:CtrlId="CTRL17" xd:xctname="PlainText" tabIndex="0" xd:binding="Data" xd:datafmt="&quot;time&quot;,&quot;&quot;" xd:boundProp="xd:num" style="WIDTH: 130px"><xsl:attribute name="xd:num" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:value-of select="Data" /></xsl:attribute><xsl:choose xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:when test="function-available('xdFormatting:formatString')"><xsl:value-of select="xdFormatting:formatString(Data,&quot;time&quot;,&quot;&quot;)" /></xsl:when><xsl:otherwise><xsl:value-of select="Data" /></xsl:otherwise></xsl:choose></span></div><div> </div><div> </div><div> </div></div>] is not a xd control

    Can anyone tell me about this error. Why this error occurs?  Is there an issue in the control or I am making mistake in designing InfoPath xsn form??

    Best Regards,
    Muhammad Uzair
    Software Engineer
    Atera Corporation (Karachi, Pakistan)
     
View as RSS news feed in XML