www.webdeveloper.com
Results 1 to 3 of 3

Thread: Want to pass a value to a control

  1. #1
    Join Date
    Jul 2003
    Location
    UK
    Posts
    391

    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,

  2. #2
    Join Date
    Oct 2009
    Posts
    658
    First read on Page Life Cycle. Usually I just place this on non postback OnLoad event
    Good Luck

    Santos Systems

  3. #3
    Join Date
    Aug 2012
    Posts
    11
    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
  •  
HTML5 Development Center



Recent Articles