How can add html image control in runtime using asp net
how can add html image control in runtime using asp net eg, i m default ading 1 image control in page i m inserting 2 or more images. how can show all images in image conctrol
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Nilesh JadavRank #110 · 20.3K reputationPosted Jul 9, 2015, 2:31 AM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jul 9, 2015, 2:43 AM EDT
Najim MullaRank #2,088 · 689 reputationPosted Jul 9, 2015, 3:28 AM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jul 9, 2015, 4:29 AM EDT
Manoj BhoirRank #599 · 4K reputationPosted Jul 9, 2015, 5:06 AM EDT
Image imgCodeIcon = new Image()
{
ID = "imgCodeIcon",
ImageUrl = "../Images/Code-icon.gif",
Width = 15,
Height = 11
};
Controls.Add(imgCodeIcon);