Click here to Skip to main content
15,892,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The error is:-

XML
get this error:


Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'ASP.moreproperty_aspx' does not contain a definition for 'Timer1_Tick' and no extension method 'Timer1_Tick' accepting a first argument of type 'ASP.moreproperty_aspx' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 1157:        <br />
Line 1158:
Line 1159:         <asp:Timer ID="Timer1" runat="server" Interval="5000" ontick="Timer1_Tick">
Line 1160:
Line 1161:        <br />

Source File: d:\Sites\miltonandward.com\public_html\MoreProperty.aspx    Line: 1159


Show Detailed Compiler Output:

Show Complete Compilation Source:



Plz Plz Help me..............
Posted
Comments
Avik Ghosh22 12-Feb-13 6:13am    
what r u write on Timer1_Tick??
Jibesh 12-Feb-13 6:18am    
do not shout at OP.

shouting - using all caps in your word is treated as shouting. dont use that in internet world unless you really mean it.
Avik Ghosh22 12-Feb-13 6:25am    
sorry....
Jibesh 12-Feb-13 6:26am    
it would be nice if you can edit your answer by removing the shouting - change the letter case.

Thanks.
garimagupta66 12-Feb-13 6:22am    
On Timer_Click i m using code which sends data on FTP n its run perfect on Local

1 solution

C#
protected void Page_Load(object sender, EventArgs e)
   {
       string sss = "xxx";
       Response.AppendHeader("Refresh", "200");
       if (!IsPostBack)
       {
           //CODE


       }


   }
 
Share this answer
 
Comments
Avik Ghosh22 12-Feb-13 6:11am    
TO AVOID TIMER U CAN USE THIS CODE ON UR PAGELODE...
Avik Ghosh22 12-Feb-13 6:13am    
http://www.codeproject.com/Answers/542646/Autoplusrefreshpluswithoutplususingplustimers#answer1
garimagupta66 12-Feb-13 6:30am    
Thanks Avik for reply but actually i need to put Timer on Site its Client Requirement...
fjdiewornncalwe 12-Feb-13 8:52am    
Your client will want a specific result to occur. They may call something a "timer", but that is not necessarily the best way to do something like this. Your job as a developer is to suggest a better way if it exists. In this case it is the the meta refresh tag.
garimagupta66 12-Feb-13 23:44pm    
Macrus thanx for reply but this will call when page is refresh but my client want if the website will not be open then i have to use timer.......

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