I want to add image to div, but innerHtml overrides it. How I need to achieve this? This is what I have for now:
Image ThumbImg = new Image();
ThumbImg.ImageUrl = ImgUrl;
HtmlGenericControl divContent = new HtmlGenericControl("div");
divContent.Controls.Add(ThumbImg);
divContent.InnerHtml = Desc;
If I move divContent.Controls.Add(ThumbImg); line to the end, then it adds an image, but to the end of content and I want image to be in beginning of the content.