Search code examples
asp.netxsltfckeditor

custom control inside xslt file


hallo all i am trying to put a custom server control this time it happens to be an fckeditor control inside my xslt file.

i use this file for custom generated forms

anyway i have no problem putting asp server controls inside the xslt but.. i get an error when i try to put a control with a diffrent namespace

here is the code:

<xsl:if test="@type='html'">
       <FCK:FCKeditor runat="server" ID="{@name}"></FCK:FCKeditor>
</xsl:if>

and this is the error:

'FCK' is an undeclared namespace

thank you


Solution

  • You need to include the FCK namespace in your declarations with the other namespaces, similar to the xsl namespace.