Hi cutechat,
I've looked in the default.config security file and the file extensions for the TemplateFilters are all unique.
I'm using the following code:
templatePath = "~/templates/" & bedrijfId.ToString
Editor1.SetSecurityTemplateGalleryPath(templatePath)