Query Images by ItemDefaultUrl?
Every linq query I try to do against ItemDefaultUrl results in this error
'System.String Value' is not defined for type 'System.String'
I've tried various versions of this, but always the same error
...any idea?
LibrariesManager manager = LibrariesManager.GetManager();
var defaultImages = manager.GetImages().FirstOrDefault(x => x.ItemDefaultUrl.Value.ToString().ToLower() == defaultConfigImage.ImageUrl.ToLower());
Guess it's easier than I thought, no .Value needed (for anyone else trying it)
Hi Steve,
Thank you for sharing the information with the community.
Kind regards,
Stefani Tacheva
the Telerik team