Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,647 members, 7,955,353 topics. Date: Saturday, 21 September 2024 at 11:46 PM |
Nairaland Forum / Science/Technology / Programming / Have Problem Embeding Radio Buttons In A Table Cell (1255 Views)
Assist Me Wit Php Code To Insert Multiple Records In A Table / Java : How Can I Add Combo Box To A Table / Have Problem Finding My Database; A Java Guru To Assist (2) (3) (4)
(1) (Reply)
Have Problem Embeding Radio Buttons In A Table Cell by luckyCO(m): 9:29pm On Feb 23, 2007 |
Am writing a program in ASP.Net that warrants that I should embede more than one Radion Buttons into table cell and later control it programatically. I wrote the code below but it wasnt displaying the radio Button, I later used HTML control(Radio) It displayed but I cannot programatically control it and moreso error on the onclick event. Plz help me study the code and tell me what is wrong. Dim K As Long Dim iFieldCount as integer =3 for k=1 to 10 Dim oRow1 As New TableRow() For x = 0 To (iFieldCount ) Dim oCell As New TableCell() oCell.Text ="<asp:RadioButton ID='RadioButton" & trim(str(k)) & trim(str(x)) & "' runat='server' OnClick='ShowUrself'/>" oRow1.Cells.Add(oCell) Next tblExample.Rows.Add(oRow1) next Sub ShowUrself (Sender as object, E As EventArgs) ' Can do things here end sub |
(1) (Reply)
What Markups does Nairaland use??? / 10 Mistakes Every Programmer Makes / How To Integrate Suitecrm With Xero
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8 |