ASPX templates
Version 4.x > ASPX templates > Get site documents View modes: 
User avatar
Member
Member
kentico-eg-consulting - 3/18/2009 11:50:29 AM
   
Get site documents
Is it possible to get a list of Names;ClassNames of the document types within the current site to bind to a Drop Down List?

Thanks

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 3/19/2009 4:50:45 AM
   
RE:Get site documents
Hello,

You can use function bellow to get DataSet with all document types:

CMS.SettingsProvider.DataClassInfoProvider.GetAllDataClass();


Best Regards,

Martin Dobsicek