RadioButton and Keyboard Controls

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default RadioButton and Keyboard Controls

    hi,

    I have a radiobutton list
    say,
    Florida | New York | New Jersey | Texas

    the radiobutton list has autopostback set to true, as i fire up some code after one of the radiobuttons are selected.

    Now, i want to be able to traverse the radiobutton using only the keyboard, as i am firing a sql based on the selection, i can't seem to be able to pick Texas as a option, because once Florida is highlighted the sql is fired.

    is there any way I can traverse the radiobuttons using only the keyboard.


    --
    Thank You,
    Sean
    Sean Guest

  2. Similar Questions and Discussions

    1. Radiobutton + Imagelink
      Hello. I've somehow managed to make radiobuttonlist work, but I can no longer use it. I have to add an ImageLink to each radiobutton, and this...
    2. radiobutton and datagrid
      hi, I have a datagrid. i want the user to select a row, and only one row. so i created a template column where i placed a radiobutton......
    3. RadioButton question
      Hello all.. the radiobuttons execute the code in the command whether I select OK or Cancel.. How can I execute on ok only? I have the following...
    4. Get value of radiobutton in a datagrid
      How can i get the value of the selected radiobutton in a DataGrid i try in many ways like lstSuppliers.FindControl("rdSelect") but i didn't get...
    5. keyboard controls and autocomplete for Field member
      it's managable, I don't know of any canned behavior that would be suitable, odds are custom code would have to be whipped up. is the autocomplete...
  3. #2

    Default Re: RadioButton and Keyboard Controls

    i did try to atleast use the hotkey(accesskey) to work with radiobuttons but
    it din't ..

    one elementary question, i have these radiobuttons, when i use the tab key
    to go thru' these elements, it selects it automatically, is that normal ...
    ?


    "Ray Dixon [MVP]" <ray@NOSPAM.greeble.com> wrote in message
    news:OE2gUKgVDHA.1984@TK2MSFTNGP11.phx.gbl...
    > Hi Sean,
    >
    > Have you checked out the WebControl.AccessKey property? Docs here:
    >
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/[/url]
    frlrfSystemWebUIWebControlsWebControlClassAccessKe yTopic.asp
    >
    > You have to use Alt+<selected key> but I think it will do what you're
    > looking for.
    >
    >
    > --
    > Ray Dixon - Microsoft MVP
    > [email]ray@NOSPAM.greeble.com[/email]
    > (remove NOSPAM. from my e-mail address for a direct reply)
    >
    >
    > "Sean" <nospam@> wrote in message
    > news:%23qzvs8fVDHA.2340@TK2MSFTNGP10.phx.gbl...
    > hi,
    >
    > I have a radiobutton list
    > say,
    > Florida | New York | New Jersey | Texas
    >
    > the radiobutton list has autopostback set to true, as i fire up some code
    > after one of the radiobuttons are selected.
    >
    > Now, i want to be able to traverse the radiobutton using only the
    keyboard,
    > as i am firing a sql based on the selection, i can't seem to be able to
    pick
    > Texas as a option, because once Florida is highlighted the sql is fired.
    >
    > is there any way I can traverse the radiobuttons using only the keyboard.
    >
    >
    > --
    > Thank You,
    > Sean
    >
    >

    Sean Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139