Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to develop a web application that provides its users with short quizzes. I am trying to follow and utilize the explained example in ASP.NET website that is about Quiz Engine. I have a Master-Details in the result page where when the user selects one of his answered quesitons in the GridView, the details of that question will be displayed in the DetailsView underneath the GridView. Everything works fine.

**What I want now is just making the DetailsView (which is the details of the answered question) hidden unless the user selects one of the answered questions. So how to do that?**

Also, it will be very good if I this DetailsView will be diplayed using Ajax instead of PostBack.


I think the main problem with is binding the GridView to the Arraylist in the Code-Behind, but I don't know how to fix it.
Posted
Updated 19-Feb-13 7:31am
v2
Comments
BobJanova 17-Jan-12 6:13am    
How about making it invisible (put it inside a <div style=display:none>) and make it visible using client side javascript attached to the answer selection controls (can't see what those are from this code but I guess they are buttons or checkboxes)?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900