Hi, I got the Dhtml working in normal HTML.
Can anyone Please Assist me in Incorporate the DHTMLXCombo code in an existing XSLT File Code:
This is the XSLT Code:
<xsl:when test="$Object/@type[.=‘drop down’ or .=‘lookup’ or .=‘team select’]">
<xsl:call-template name=“ListValueType”>
<xsl:with-param name=“Name” select="$Object/@name" />
<xsl:with-param name=“Attributes” select="$Object/Attributes" />
<xsl:with-param name=“Options” select="$Object/Options" />
<xsl:with-param name=“Value” select="$Object/Value" />
</xsl:call-template>
</xsl:when>
<xsl:template name=“ListValueTypeOld”>
<xsl:param name=“Name” />
<xsl:param name=“Attributes” />
<xsl:param name=“Options” />
<xsl:param name=“Value” />
<xsl:element name=“asp:dropdownlist”>
<xsl:attribute name=‘id’><xsl:value-of select=’$Name’ /></xsl:attribute>
<xsl:attribute name=‘runat’>server</xsl:attribute>
<xsl:for-each select="$Attributes/Attribute">
<xsl:attribute name=’{@name}’><xsl:value-of select=’.’ /></xsl:attribute>
</xsl:for-each>
<xsl:for-each select=’$Options/Option’>
<xsl:element name=“asp:ListItem”>
<xsl:attribute name=‘Value’><xsl:value-of select=’.’ /></xsl:attribute>
<xsl:if test="@selected[. = ‘true’]"><xsl:attribute name=‘selected’>true</xsl:attribute></xsl:if>
<xsl:value-of select=’.’ />
</xsl:element>
</xsl:for-each>
</xsl:element>
</xsl:template>
My DHTMLXCombo normal HTML Code:
<select style=‘width:200px;’ id=“combo_zone1” name=“alfa1”>
a00
a01
Regards