I have a doctype that holds content for panels that I want to appear on my page. These panels are children of the page and I have an xslt macro that loops through them and outputs their content.
The problem is some of these panels need to have a simple form added to them that allows users to enter their email address. I have a user control macro with this form but I don't know how to add it to the xslt macro and get it to function. Using RenderMacroContent just outputs the html, the form doesn't work.
Is there any way to include the user control macro in such a way that it works.
Include user control macro in xslt or razor macro
I have a doctype that holds content for panels that I want to appear on my page. These panels are children of the page and I have an xslt macro that loops through them and outputs their content.
The problem is some of these panels need to have a simple form added to them that allows users to enter their email address. I have a user control macro with this form but I don't know how to add it to the xslt macro and get it to function. Using RenderMacroContent just outputs the html, the form doesn't work.
Is there any way to include the user control macro in such a way that it works.
Hi. Hm. Have you made sure that your page has <form runat="server"> tag and your macro is drawn inside this form?
Yes
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.