I have same compiled user controls (.ascx) and I don’t have the code behind. This user controls have some images and the source is defined in code behind. Do you have any idea how I can change the source path images?
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.
The dirty way would be to overwrite the path using jQuery.
The clean way would be a new Control which implements the original one.
Now you should be able to overwrite the original functionality.
Here’s a little example: