Radio Button

Discussion in 'C#' started by clintv, May 11, 2008.

  1. #1
    Hi Guys,

    Can anyone teach me how to change the value of a textbox in a runtime when radio button selection was changed. Like for example i have two radio buttons A & B. When A was selected the value of the textbox changed to A and when B it changed to B. Please help thanks!
     
    clintv, May 11, 2008 IP
  2. BlogSalesman

    BlogSalesman Well-Known Member

    Messages:
    1,687
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    100
    #2
    You can do this with the Microsoft AJAX (fake AJAX) using an UpdatePanel, or you can just Javascript.

    Then have a javascript function that searches for the textbox and changes the text.

    If you need more help with that, let me know.
     
    BlogSalesman, May 12, 2008 IP