I'm trying to insert an ImageControl into a page, I have it partially done. I get the control on the page
but I can't set an image. I get the message: "An image was not selected or has been deleted. Please select another one." I tried it with image.Id and image.FileId but both not working. I searched in the
object for the same GUID as I see in the backend but I can't find that. So, how do I select an image?
ImageControl imageBlock =
imageBlock.ImageId = imageBlock.Manager.GetImages().FirstOrDefault().FileId;
PageDraftControl imageBlockDraftControl = manager.CreateControl<PageDraftControl>(imageBlock,