Want to pass a value to a control
I have a control that is basically html link to a style sheet.
I want to dynamically pass a string that can be replaced in the src part of that html.
In the code behind of the control I have created a field and property that I can set.
But how do I replace the string in the html link where I want it and in what event should I use?
First read on Page Life Cycle. Usually I just place this on non postback OnLoad event
You can use element property InnerHtml to achieve this and replacing the old value with new one.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)