Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Simple (I think) question about Custom Tables and Repeater View modes: 
User avatar
Member
Member
Satiated - 3/18/2010 2:29:04 PM
   
Simple (I think) question about Custom Tables and Repeater
I'm only starting to get into Kentico so pardon the newbie question.

I've created a custom table called 'Sponsors' and have a few fields within that table.

I created a template and have a CustomTableDataGrid control in that template aspx page that displays all the data no problem, but if I try to add a CustomTableDataList or customablerepeater control to that same template I get no results.

I'm guessing it has something to do with the 'Transformations' but I'm not sure, the custom table has a 'Default' transformation and I've tried that with the transformation both 'Checked out' and 'Checked in' but I never seem to get any data.

I don't have any other sites in the CMS so I can't compare to the example site or anything like that either :/

Thanks

User avatar
Member
Member
kentico_pavelk - 3/19/2010 3:57:32 AM
   
RE:Simple (I think) question about Custom Tables and Repeater
Hello,

Yes, it is possible that you haven't specified transformations. I would recommend you installing our sample Corporate site where our web parts are introduced.

Please find two links to our Developer's guide below. They should help you set up the web parts.
http://devnet.kentico.com/docs/devguide/index.html?custom_tables_available_web_parts.htm
http://devnet.kentico.com/docs/devguide/index.html?transformations_for_custom_tables.htm


Best regards,
Pavel Knotek

User avatar
Member
Member
Satiated - 3/19/2010 10:33:19 AM
   
RE:Simple (I think) question about Custom Tables and Repeater
I'm working in an ASPX site so I'm not sure if that matters (the docs seem geared towards the regular CMS interface).

Based on the example site I was able to figure it out, I missing:

CustomTableRepeater.ReloadData();

Once I added that, the data appears no problem now - thanks, using the example site led me in the correct direction.