-
Want to pass a value to a control
Hi,
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?
THanks,
-
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.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks