G
Guest
Hi everyone,
Could you please help me with this?
I need to create a table in which resultdata from a sql server table can be
shown and/or edited by using controls, for instance the radiobutton.
To do this I use an Repeater and another repeater nested in it.
All works well when I create the control radiobutton as a static in the aspx
page.
The problem is that there are different kinds of data in the database and
for some data there will be the need to show a yes/no selection with 2
radiobuttons, as for another item it should be a textbox control..
I tried to automate the generation by calling a function in the code behind
page that will return the "<ASP:RadioButton....... />" string, but then it is
a literal text in the generated page instead of a radiobutton...
Can anyone tell me if, and if so, how it's possible to create these controls
on the fly?
Thank you,
Kind regards,
Chris.
PS: I've added the code to clarify what I've done. If you know where I did
something wrong, and have a solution, please help me...
Could you please help me with this?
I need to create a table in which resultdata from a sql server table can be
shown and/or edited by using controls, for instance the radiobutton.
To do this I use an Repeater and another repeater nested in it.
All works well when I create the control radiobutton as a static in the aspx
page.
The problem is that there are different kinds of data in the database and
for some data there will be the need to show a yes/no selection with 2
radiobuttons, as for another item it should be a textbox control..
I tried to automate the generation by calling a function in the code behind
page that will return the "<ASP:RadioButton....... />" string, but then it is
a literal text in the generated page instead of a radiobutton...
Can anyone tell me if, and if so, how it's possible to create these controls
on the fly?
Thank you,
Kind regards,
Chris.
PS: I've added the code to clarify what I've done. If you know where I did
something wrong, and have a solution, please help me...