Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 04, 2013 09:10 PM by Rimo72
Member
2 Points
18 Posts
Jan 04, 2013 09:06 PM|LINK
Hi all,
How can the result of my image handle to populate the div background-image property in c#?
Thanks,
Jan 04, 2013 09:10 PM|LINK
got my solution Thanks
pnPics.Controls.Add(new LiteralControl("<div style='background-image:url(" + Page.ResolveUrl(@"~/imgHandler.ashx?ImageID=" + reader["picID"]) + ")'>"));
Rimo72
Member
2 Points
18 Posts
how to use an image handler to populate the div background-image
Jan 04, 2013 09:06 PM|LINK
Hi all,
How can the result of my image handle to populate the div background-image property in c#?
Thanks,
Rimo72
Member
2 Points
18 Posts
Re: how to use an image handler to populate the div background-image
Jan 04, 2013 09:10 PM|LINK
got my solution Thanks
pnPics.Controls.Add(new LiteralControl("<div style='background-image:url(" + Page.ResolveUrl(@"~/imgHandler.ashx?ImageID=" + reader["picID"]) + ")'>"));