I have a control used in our CMS and we don’t have the source code for it, what I would like to do is change the rendered output of this control.
Now, I could have a check in my base Page class that checks if the control is being used on the page and then change the html that needs to be altered, but that seems a bit excessive for just 1 usage.
So is there any other way of changing the behaviour of the control without the source code? I’m thinking not other than the way described above.
Thanks
Wrap it in a custom control:
If you want to be able to manipulate the output in code specific to the page, add an event, something like:
To make your custom version available in the designer, you need something in web.config