Click here to Skip to main content
15,902,840 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow can i show a timer in an aspx page? Pin
Big Ralph8-Oct-07 0:37
Big Ralph8-Oct-07 0:37 
AnswerRe: how can i show a timer in an aspx page? Pin
Christian Graus8-Oct-07 0:48
protectorChristian Graus8-Oct-07 0:48 
GeneralRe: how can i show a timer in an aspx page? Pin
Big Ralph8-Oct-07 0:57
Big Ralph8-Oct-07 0:57 
GeneralRe: how can i show a timer in an aspx page? Pin
Christian Graus8-Oct-07 1:05
protectorChristian Graus8-Oct-07 1:05 
QuestionAssign Javascript variable to variable define in .cs file Pin
varshavmane7-Oct-07 23:54
varshavmane7-Oct-07 23:54 
AnswerRe: Assign Javascript variable to variable define in .cs file Pin
Christian Graus8-Oct-07 0:29
protectorChristian Graus8-Oct-07 0:29 
GeneralRe: Assign Javascript variable to variable define in .cs file Pin
varshavmane8-Oct-07 0:38
varshavmane8-Oct-07 0:38 
GeneralRe: Assign Javascript variable to variable define in .cs file Pin
Christian Graus8-Oct-07 0:47
protectorChristian Graus8-Oct-07 0:47 
I'm not sure how many attempts it will take before you actually understand what you've been told over and over.

ASP.NET 2.0 wrote:
window.location.reload();


This does NOT do a postback. Therefore all your javascript values are lost. The page lifecycle restarts as if the last request occurs. A postback does not occur. A postback does not occur. A postback does NOT occur.

So, as you've been told, you need to initiate a postback, which you can do by calling click on a button which posts back, or by working out the javascrpt method to call directly.


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

Questionserver side state mgmt Pin
pavanteja7-Oct-07 23:34
pavanteja7-Oct-07 23:34 
AnswerRe: server side state mgmt Pin
N a v a n e e t h7-Oct-07 23:52
N a v a n e e t h7-Oct-07 23:52 
GeneralRe: server side state mgmt Pin
pavanteja7-Oct-07 23:58
pavanteja7-Oct-07 23:58 
GeneralRe: server side state mgmt Pin
N a v a n e e t h8-Oct-07 0:03
N a v a n e e t h8-Oct-07 0:03 
GeneralRe: server side state mgmt Pin
pavanteja8-Oct-07 0:08
pavanteja8-Oct-07 0:08 
GeneralRe: server side state mgmt Pin
N a v a n e e t h8-Oct-07 0:10
N a v a n e e t h8-Oct-07 0:10 
QuestionBinding List to GridView Pin
sangramkp7-Oct-07 23:16
sangramkp7-Oct-07 23:16 
AnswerRe: Binding List to GridView Pin
Christian Graus7-Oct-07 23:19
protectorChristian Graus7-Oct-07 23:19 
AnswerRe: Binding List to GridView Pin
N a v a n e e t h7-Oct-07 23:22
N a v a n e e t h7-Oct-07 23:22 
GeneralRe: Binding List to GridView Pin
Christian Graus7-Oct-07 23:34
protectorChristian Graus7-Oct-07 23:34 
GeneralRe: Binding List to GridView Pin
N a v a n e e t h7-Oct-07 23:43
N a v a n e e t h7-Oct-07 23:43 
GeneralRe: Binding List to GridView Pin
Christian Graus8-Oct-07 0:36
protectorChristian Graus8-Oct-07 0:36 
Questiongetting image from network stream Pin
821300127-Oct-07 23:15
821300127-Oct-07 23:15 
AnswerRe: getting image from network stream Pin
Christian Graus7-Oct-07 23:18
protectorChristian Graus7-Oct-07 23:18 
GeneralRe: getting image from network stream Pin
821300127-Oct-07 23:29
821300127-Oct-07 23:29 
GeneralRe: getting image from network stream Pin
N a v a n e e t h7-Oct-07 23:31
N a v a n e e t h7-Oct-07 23:31 
Questionhow to save textbox values Pin
Kissy167-Oct-07 23:12
Kissy167-Oct-07 23:12 

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.