Hello,
You can place a standard
CMSRepeater control to the ascx code and set the class names, transformation name and other attributes to appropriate values. Then, in the code behind you set the
Path property dynamically according to the current
Parameter value and then call
ReloadData method for the repeater so the property values would be updated.
Please take a look at following example:
<cms:CMSRepeater runat="server" ID="rep" ClassNames="CMS.News" TransformationName="CMS.News.Default" ></cms:CMSRepeater>
CODE BEHIND:
protected void Page_Load(object sender, EventArgs e)
{
rep.Path = this.Parameter;
rep.ReloadData(true);
}
Best regards,
Michal Legen