Click here to Skip to main content
12,559,281 members (47,201 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET
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 16-Jan-12 23:52pm
Updated 19-Feb-13 7:31am
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.161026.1 | Last Updated 19 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100