I can use VS designer to open the document properties and change the Background property. But I can’t seem to find a way to change it dynamically when the page loads. Can this be done in codebehind or this must be done in JavaScript only?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can try this on the markup:
And this in the codebehind:
You can programmatically change the image url as needed