开发者

Facing a Problem in ASP.NET Project (Online Test) while selecting the options(Radiobutton)

开发者 https://www.devze.com 2023-01-22 01:45 出处:网络
I am Developing a online test(Multiple choice) in C# asp.net. I have to show only one Question per page. I am usingradiobuttons to select one of the options.

I am Developing a online test(Multiple choice) in C# asp.net. I have to show only one Question per page. I am using radiobuttons to select one of the options. When i click the next button, options respective to the next Question bind to the radiobuttons. The origin开发者_运维知识库 of Problem: I select a radiobutton for one Question and the same radiobutton is selected for all the subsequent questions. For example, if i select radiobutton3, the radiobutton3 is selected for all the subsequent questions.This issue arise because i use same 4 radiobutton to bind the options of the all the questions. Please help me how to overcome this problem in C# ASP.NET.


on your page_load reset all radio buttons to their default values (checked = false).

0

精彩评论

暂无评论...
验证码 换一张
取 消