PDA

View Full Version : Radio button issue



y7cs1256
05-22-2013, 09:25 AM
Hi,

Requirement: Replace check box with Radio button in Grid (user can able to select only one radio button at a time)

the code for Check box is:

m_Grid.SetStyleRange(CGXRange().SetCols(2), CGXStyle().SetControl(GX_IDS_CTRL_CHECKBOX3D).SetH orizontalAlignment(DT_CENTER));

according to my requirement i have replaced radio button i.e.

m_Grid.SetStyleRange(CGXRange().SetCols(2), CGXStyle().SetControl(GX_IDS_CTRL_RADIOBTN3D).SetH orizontalAlignment(DT_CENTER).SetChoiceList(" "))

but here the problem is user can able to select multiple radio buttons how to avoid this problem please help me.........

Thanks in advance,
Satish