I believe there is a small bug in the library WebControls (line 2277)
the original code is
************************************************************************ * wwWebRadioButtonList :: Render **************************************** *** Function: *** Assume: *** Pass: *** Return: ************************************************************************ . . .IFLOWER(this.RepeatDirection) = "vertical"this.IsInputControl = .F. lcOutput = "<table " + this.WriteBaseTags() + ">" + CRLF<<u>>this.InputControl = .t.<</u>>FOR lnX = 1 TOthis.Items.Count lcOutput = lcOutput + "<tr><td>" + ;this.RenderSingleRadio(this.Items.aItems(lnX,2),lnX) + "</td></tr>" +CRLFENDFOR lcOutput = lcOutput + "</table>"ELSEthis.IsInputControl = .F. lcOutput = "<div " + this.WriteBaseTags() + ">" + CRLFthis.IsInputControl = .T.
and correct code would not it?
IFLOWER(this.RepeatDirection) = "vertical"this.IsInputControl = .F. lcOutput = "<table " + this.WriteBaseTags() + ">" + CRLF<<u>><<b>>this.IsInputControl = .t.<</b>><</u>>FOR lnX = 1 TOthis.Items.Count lcOutput = lcOutput + "<tr><td>" + ;this.RenderSingleRadio(this.Items.aItems(lnX,2),lnX) + "</td></tr>" +CRLFENDFOR lcOutput = lcOutput + "</table>"ELSEthis.IsInputControl = .F. lcOutput = "<div " + this.WriteBaseTags() + ">" + CRLFthis.IsInputControl = .T.
Thanks,
Michel
Michel