Hi!
I'm trying to intsert an image to a Windows Form > Webpage project. I tried to insert an Image control to webpage and assign the image to the control:
- Image1.ImageUrl = "1.jpg";
- Image image = new Image();
- image.ID = "image1";
- image.ImageUrl = "1.jpg";
- image.ImageAlign = ImageAlign.AbsMiddle;
- image.Visible = true;
- Form.Controls.Add(image);
Thank you.

Kasun LeePosted Aug 24, 2018, 12:46 PM
"Parse error". I just wanna load an different image file dynamically when I select different radio buttons. For example: Radio button: Beatles -- a image of Beatles gotta be loaded. Radio button: Pink Floyd -- A pink Floyd image should load. Donno what to do. ANyways, thanks for the reply
Jitendra KumarPosted Aug 24, 2018, 4:55 AM