I try to connect query repeater in kentico to data source (in this case it is custom table), unfortunately I have to do it in .aspx and code behind, not in webpart properties as always (I have to do custom development). I know that in CMS repeater I can do it in this way:
<cms:CMSRepeater ID="CMSRepeater1" runat="server"
Path="/%"
ClassNames="CustomTable.MyTable"
EnablePaging="False"
StopProcessing="false"
SelectOnlyPublished="true"
>
<HeaderTemplate></HeaderTemplate>
<ItemTemplate><%# Eval("Description") %></ItemTemplate>
<FooterTemplate></FooterTemplate>
</cms:CMSRepeater>
Unfortunately it is custom table so this construction doesn't work, I tried to use queryrepeater, but it also doesn't work. Which control can I use to display data from custom table using my own template?
<cms:queryrepeater id="repItems" runat="server" >
<HeaderTemplate></HeaderTemplate>
<ItemTemplate><%# Eval("Description") %></ItemTemplate>
<FooterTemplate></FooterTemplate>
</cms:queryrepeater>
I tried also datasource="CustomTables.MyTable", datasourcename="customtabledatasource", customtable="My.Customtable" etc. but it also doesn't work...
Help ;-)