Click here to Skip to main content
15,892,292 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Already Hosted the web site but getting autorefresshed and auto scrolled want to stop that
Posted
Comments
You need to provide more information about your issue.
It won't work this way.
durgesh j 10-Oct-13 6:58am    
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="style1" border=0>
<tr style="text-transform:capitalize;font-weight:bold; color:Red;">
<td class="style2">
 </td>
<td>
<asp:ScriptManager ID="ScriptManager1" runat="server">

</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="False">


</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">

<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="style2">
 </td>
<td colspan="2">
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/clk.png"
onclick="ImageButton1_Click" />
<br />
</td>
</tr>
What to do with this code, if you will not explain the problem?

This can be done. By using
XML
<asp:UpdatePanel></asp:UpdatePanel>
. Make sure that u have place the content that is autopost back in the Update Panel

Hope This will help.
 
Share this answer
 
v2
Comments
durgesh j 10-Oct-13 2:16am    
Here is the code plz provide me the solution for the same
xibit89 10-Oct-13 2:19am    
i dont see any code.
durgesh j 10-Oct-13 3:07am    
here is also the link of the page

http://www.sbelearning.com/SE/SEIT/PSOOP/ExamPractice.aspx
durgesh j 10-Oct-13 3:19am    
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="style1" border=0>
<tr style="text-transform:capitalize;font-weight:bold; color:Red;">
<td class="style2">
 </td>
<td>
<asp:ScriptManager ID="ScriptManager1" runat="server">

</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="False">


</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">

<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="style2">
 </td>
<td colspan="2">
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/clk.png"
onclick="ImageButton1_Click" />
<br />
</td>
</tr>
xibit89 10-Oct-13 7:17am    
Place your script manager on top outside the td
<asp:ScriptManager ID="ScriptManager1" runat="server">
Place ur script manager on the top of the pade under <asp:content xmlns:asp="#unknown">
XML
<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ToolkitScriptManager>

and place all of the code in update panel which u do not want to load again and again
XML
<asp:UpdatePanel ID="CustNameCodePnl" runat="server">
     <ContentTemplate>
          <%--Enter Your Code Here--%>
 
Share this answer
 

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