I try to make a submenu (dropdown) where there is placed a Contour form.
Good things first. The dropdown works without any problems, but I read somewhere you can't place the Contour form, because you can't put a .net into a xslt. So my question is now - how can it be solved placing a form in a dropdown built in XSLT?
This can be sovled by creating a custom usercontrol to render the menu instead of xslt. Suggest using repeater bound to either IEnumerable<Node> or xml. The form can then be loaded up dynamically using LoadControl and form guid from the node in question.
Niels: I have updated your site with a working example.
XSLT submenu and contour
Hi,
I try to make a submenu (dropdown) where there is placed a Contour form.
Good things first. The dropdown works without any problems, but I read somewhere you can't place the Contour form, because you can't put a .net into a xslt. So my question is now - how can it be solved placing a form in a dropdown built in XSLT?
Kind regards,
Niels
Is there knowone that can help me with this one?
Comment author was deleted
Hi Niels,
Not sure I can follow what you mean.
Do you want to display a form depending on a choose made in a dropdowlist?
This can be sovled by creating a custom usercontrol to render the menu instead of xslt. Suggest using repeater bound to either IEnumerable<Node> or xml. The form can then be loaded up dynamically using LoadControl and form guid from the node in question.
Niels: I have updated your site with a working example.
H.
is working on a reply...