kentico_martind
-
2/17/2010 4:21:28 AM
RE:CustomTable DataList
Hi Kevin,
Regrettably this is not natively supported by CustomTable datalist within the CMS Desk. You would need to modify SiteManager -> Development -> Custom tables -> edit your table -> Queries -> 'selectall' query and in this query make join with other tables and select names instead of IDs in it. But you would need to make this change anytime you add new field to CustomTable. Alternatively, you could create custom query there and then call this query using ExecuteQuery method and set returned DataSet as data source for GridView in ~\CMSModules\CustomTables\Controls\CustomTableDataList.ascx(.cs) files.
Best Regards,
Martin Dobsicek
|