RadioGroup set checked value

  1. #1

    RadioGroup set checked value

    Hi,

    I'm trying to check a radio item of a radio group, this radio group has 3 items. For example I want to check item #1 (zero index based)

    I try it in client-side with something like this
    radioGroup.setValue([false, true, false]);
    And server-side too with this piece of code
    radioGroup.Items[1].Checked = true;
    But unfortunately I haven't got the expected result, and none of the items has been checked, how can i check it?
  2. #2
    Try with this:

            if (data[0] == "S")
            {
                RadioGrupo.SetValue("rdSi", true);
                RadioGrupo.SetValue("rdNo", false);
            }
            else
            {
                RadioGrupo.SetValue("rdSi", false);
                RadioGrupo.SetValue("rdNo", true);
            }

Similar Threads

  1. Clear RadioGroup checked item
    By chunhuxiao in forum 1.x Help
    Replies: 0
    Last Post: Apr 26, 2012, 6:34 AM
  2. RadioGroup With InputValue cann't checked
    By nanlinfeixue in forum 1.x Help
    Replies: 5
    Last Post: Jul 01, 2011, 6:38 AM
  3. [CLOSED] [1.0] radiogroup: set checked
    By PoloTheMonk in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 14, 2010, 2:28 PM
  4. Replies: 4
    Last Post: Jun 24, 2010, 11:09 PM
  5. CheckColumn Checked
    By Maia in forum 1.x Help
    Replies: 7
    Last Post: Jan 14, 2010, 9:30 AM

Tags for this Thread

Posting Permissions