Click here to Skip to main content
15,892,809 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: allow user to write in drop down Pin
eyeseetee17-Sep-08 2:27
eyeseetee17-Sep-08 2:27 
AnswerRe: allow user to write in drop down Pin
ToddHileHoffer17-Sep-08 2:48
ToddHileHoffer17-Sep-08 2:48 
GeneralRe: allow user to write in drop down Pin
Gamzun17-Sep-08 17:09
Gamzun17-Sep-08 17:09 
QuestionUse Timer Contorl in asp.net Pin
Rinki Mukheraji17-Sep-08 1:15
Rinki Mukheraji17-Sep-08 1:15 
AnswerRe: Use Timer Contorl in asp.net Pin
sumit703417-Sep-08 1:22
sumit703417-Sep-08 1:22 
GeneralRe: Use Timer Contorl in asp.net Pin
Rinki Mukheraji17-Sep-08 1:27
Rinki Mukheraji17-Sep-08 1:27 
GeneralRe: Use Timer Contorl in asp.net Pin
eyeseetee17-Sep-08 1:28
eyeseetee17-Sep-08 1:28 
AnswerRe: Use Timer Contorl in asp.net Pin
Sathesh Sakthivel17-Sep-08 1:25
Sathesh Sakthivel17-Sep-08 1:25 
Timer controls work well on an asp.net page. As a web page refreshes each time it is back, You should declare the time control as a static attribute of the page, as well as the timer event handler.
protected System.Timers.Timer timer1; <br />
private int test; <br />
<br />
protected void Page_Load(object sender, System.EventArgs e) <br />
{ <br />
// Put user code to initialize the page here <br />
test = 1; <br />
<br />
timer1.Interval = 1000; <br />
timer1.Start(); <br />
<br />
timer1.Enabled = true; <br />
<br />
} <br />
<br />
<br />
<br />
private void timer1_Elapsed(object sender, System.Timers.ElapsedEventArgs e) <br />
{ <br />
<br />
test = test+1; <br />
<br />
lblCounter.Text = "count:"+test; <br />
<br />
} <br />
<br />


SSK.

Anyone who says sunshine brings happiness has never danced in the rain.

GeneralRe: Use Timer Contorl in asp.net Pin
J4amieC17-Sep-08 2:10
J4amieC17-Sep-08 2:10 
RantRe: Use Timer Contorl in asp.net Pin
Eddy Vluggen17-Sep-08 2:38
professionalEddy Vluggen17-Sep-08 2:38 
GeneralRe: Use Timer Contorl in asp.net Pin
J4amieC17-Sep-08 2:42
J4amieC17-Sep-08 2:42 
GeneralRe: Use Timer Contorl in asp.net Pin
Eddy Vluggen17-Sep-08 2:57
professionalEddy Vluggen17-Sep-08 2:57 
AnswerRe: Use Timer Contorl in asp.net Pin
eyeseetee17-Sep-08 2:25
eyeseetee17-Sep-08 2:25 
QuestionFilteredTextBox for invalid chars as (@%$&*) Pin
satishjha17-Sep-08 0:59
satishjha17-Sep-08 0:59 
AnswerRe: FilteredTextBox for invalid chars as (@%$&*) Pin
Bardy8517-Sep-08 1:37
Bardy8517-Sep-08 1:37 
AnswerRe: FilteredTextBox for invalid chars as (@%$&*) Pin
SunithaNallana17-Sep-08 1:43
SunithaNallana17-Sep-08 1:43 
AnswerRe: FilteredTextBox for invalid chars as (@%$&*) Pin
dipak.dipak17-Sep-08 2:57
dipak.dipak17-Sep-08 2:57 
AnswerRe: FilteredTextBox for invalid chars as (@%$&*) Pin
dipak.dipak17-Sep-08 3:02
dipak.dipak17-Sep-08 3:02 
QuestionModalPopExtender with Checkboxes Pin
ncsubbu17-Sep-08 0:58
professionalncsubbu17-Sep-08 0:58 
QuestionHow to Export image to MS Word, PDF and Power Point Pin
K V Sekhar17-Sep-08 0:45
K V Sekhar17-Sep-08 0:45 
Questionadding user controls dynamically Pin
poombatta17-Sep-08 0:07
poombatta17-Sep-08 0:07 
AnswerRe: adding user controls dynamically Pin
Sathesh Sakthivel17-Sep-08 1:03
Sathesh Sakthivel17-Sep-08 1:03 
Questioninsert the value in ID column Pin
varsh1216-Sep-08 23:49
varsh1216-Sep-08 23:49 
AnswerRe: insert the value in ID column Pin
Rocky#16-Sep-08 23:52
Rocky#16-Sep-08 23:52 
GeneralRe: insert the value in ID column Pin
varsh1217-Sep-08 0:31
varsh1217-Sep-08 0:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.