Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
module for online exam is been prepared but when we click to start the exam timer starts but as soon as we click any other radio button to start the exam the clock stops ticking p;z provide me the solution for the same
ASP.NET
<asp:ScriptManager ID="ScriptManager1" runat="server">
                  
    <table class="style1" border="0">
    
        <tr style="text-transform:capitalize;font-weight:bold; color:Red;">
            <td class="style2">
                 </td>
             <td> </td>
            <td style="text-align: right">
            <asp:Label ID="lblwlc" runat="server" Width="150px">
             </td>
              </tr>
             <tr style="text-transform:capitalize;font-weight:bold; color:Red;">
                   <td class="style2">   </td>
               <td colspan="2"> <asp:Timer ID="Timer1" runat="server" ontick="Timer1_Tick" Interval="1000"  Enabled=true> </td>
                            </tr>
                            <tr style="text-transform:capitalize;font-weight:bold; color:Red;">
                                <td class="style2">
                                     </td>
                                <td colspan="2">
                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                    <contenttemplate>
                                        <asp:Label ID="Label1" runat="server">                               
                                     </contenttemplate>
                                     <triggers>
                                         <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="tick"/></triggers>
                                         
                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="style2" style="background-color:#a8a8a8;height:30px;">
                                     </td>
                                <td style="background-color:#a8a8a8;" colspan="2">
                                      Click to Clock Picture to Start Exam :
                                </td>
                            </tr>
                            <tr>
                                <td class="style5">
                                    </td>
                                <td colspan="2" class="style6">
                                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/clk.png" 
                                        onclick="ImageButton1_Click" />
                                </td>
                            </tr>
                            </table>
Posted
Updated 15-Oct-13 2:29am
v4
Comments
Kenneth Haugland 15-Oct-13 7:25am    
What have you tried? And how does your code look like now? (Only the relevant bits of it that is.)
durgesh j 15-Oct-13 8:27am    
placed properly but not seems to be visually correct dont knew y?
Kenneth Haugland 15-Oct-13 9:20am    
Well, now I see the question, so no problem :-)
OriginalGriff 15-Oct-13 7:30am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Show us the code you use to display the tick, and the code to handle the radio buttons.
Use the "Improve question" widget to edit your question and provide better information.

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