Can't get RadioButtonlist with databind
Hi,
I am developing an ASP.Net application where I have to populate questions which might contain Multiple choice, True or false, Descriptive type etc. I am using check boxes for Multiple choice, RadioButtonList for True Or False and Text box for Descriptive type. I have to make the controls visible only if that type of question are present. I am using a Grid to display question and a inner grid containing answer options. I am using a table to get the questions and answers and type of questions. I am binding the grid in Page load event. How I can I accomplish this idea using grids. My problem is How I can use Radio Button List to populate True or False questions with selected = '<%# container.dataItem("Id")%>' for ListItem of RadioButtonList. Can I do this? Please Help
|