I am trying to use CDN for my images on the website. Problem is, sometimes I have server controls such as ImageButton, and I would like to use a class in order to fully extr
Of course, your best bet is to give the imagebutton an id, eg:
And then within your page load assign the imageurl:
void Page_Load(...) { if (!Page.IsPostback) { IAgreeImageButton.ImageUrl = ResourceManager.GetImageCDN("iagree.png"); } }