Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there a way to get to the filename and extension with the Damp Editor Property Editor Value Converter ?
Now I'm using this code:
var document = Model.Content.GetPropertyValue<DAMP.PropertyEditorValueConverter.Model>("mediaArticleDocument");
var filename = document.First.Name;
but this give me the file name without the extension.
What I would like is to get the filename with the extension
Thanks for your help,
this will give you extension
then you can concatenate it with yourfile name.
Hi Ali, thanks a lot,
I was hoping there was some kind of convenient property but this works as a charm : )
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted