in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

How to use radio group

Last post 11/7/2007 6:05 AM by Latif Kankanwadi. 2 replies.
Page 1 of 1 (3 items)
Sort Posts:
Previous Next
  • 10/29/2007 7:37 AM

    How to use radio group

    hi,

      Can any one please help me in knowing how i can use radio group control separately which is databinded.

    Requirement is, column in database is of type boolean. This column is databinded to a radiogroup control. Radiogroup control has two items True and False. If database column has value true then 'RadioItem True' in Radiogroup must be enabled  and if database column is false then 'RadioItem False' in Radiogroup must be enabled.

    Any suggestion on this will be of great help.Thanks in advance.

     

     

    Filed under:
  • 11/6/2007 10:16 AM In reply to

    Re: How to use radio group

    Hi Latif,

    Here you go:

    1. Bind your radio group to a Boolean data field (via DataBindings).
    2. Populate the radio group's Properties.Items collection. Create two items. The first item should correspond to Boolean True (its Value property must be set to true). The second item should correspond to Boolean False (its Value property must be set to false).
    3. Finally, set the radio group's EditValue property to true.

     

    Thanks, Nathan.
    R&D, .NET Team, Developer Express Inc.
    P.S. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/Support/Center
  • 11/7/2007 6:05 AM In reply to

    Re: How to use radio group

    Hi Nathan,

       Thanks a lot for your reply. Now i got to know how i can use radio group.

     

    Regards,

    Latif

    Filed under:
Page 1 of 1 (3 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED