tridiontridion-2011ascx

ASCX User control SDL Tridion 2011



I'm pretty new to Tridion 2011 and I need to create a simple ASCX control to implement an ASP.NET dinamically generated DropDownList.
I'm a little bit confused about how to create a Compound Template (should I do it?) and a Dynamic Assembly to reach my purpose.
I've created a Component Template with output ASCX Web Control and set it to "Published as a Dynamic Component" but I can't figure out how to add my code behind to it.
Should I publish a specific .ascx.cs page and reference it in my .ascx or is there a more "Tridion" way to do it?
Thank you for your help.


Solution

  • Here is a post that may help with this: http://tridionnut.blogspot.com/2013/01/tridion-and-net-user-controls.html

    Also keep in mind that the answer above is something you will want to keep in mind.

    Thanks!