Click here to Skip to main content
16,004,860 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionTemplate field in codebehind Pin
dptalt22-Oct-09 10:27
dptalt22-Oct-09 10:27 
Questionhow to manage multiple roles in asp.net Pin
jarajeshwaran22-Oct-09 7:33
jarajeshwaran22-Oct-09 7:33 
AnswerRe: how to manage multiple roles in asp.net Pin
Christian Graus22-Oct-09 18:34
protectorChristian Graus22-Oct-09 18:34 
QuestionASP deploments Pin
Mix Wheels22-Oct-09 4:09
Mix Wheels22-Oct-09 4:09 
AnswerRe: ASP deploments Pin
Abhishek Sur22-Oct-09 5:37
professionalAbhishek Sur22-Oct-09 5:37 
AnswerRe: ASP deploments Pin
Abhijit Jana22-Oct-09 5:56
professionalAbhijit Jana22-Oct-09 5:56 
Questioncan we check that page is refresh using javascript Pin
yrishi22-Oct-09 3:55
yrishi22-Oct-09 3:55 
AnswerRe: can we check that page is refresh using javascript Pin
Abhishek Sur22-Oct-09 4:51
professionalAbhishek Sur22-Oct-09 4:51 
Page refresh means the page will be again retrieved from the server.
If one presses ctrl +f5 it will even remove browser cache and then load everything.

so if you want to restrict running a function on page refresh, it will automatically blocked on first run, as it would be unable to check if it is run first or refreshed.

One thing that you can do, is set a cookie in the browser after the page is loaded for first time, then from serverside remove the script when cookie is present. Smile | :)

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords
/xml>

AnswerRe: can we check that page is refresh using javascript Pin
April Fans25-Oct-09 21:50
April Fans25-Oct-09 21:50 
GeneralRe: can we check that page is refresh using javascript Pin
yrishi26-Oct-09 20:32
yrishi26-Oct-09 20:32 
Questionunable to display the image in gridview Pin
vikas shukla22-Oct-09 3:50
vikas shukla22-Oct-09 3:50 
AnswerRe: unable to display the image in gridview Pin
Abhishek Sur22-Oct-09 4:54
professionalAbhishek Sur22-Oct-09 4:54 
AnswerRe: unable to display the image in gridview Pin
shashankbv22-Oct-09 4:57
shashankbv22-Oct-09 4:57 
AnswerRe: unable to display the image in gridview Pin
Abhijit Jana22-Oct-09 6:02
professionalAbhijit Jana22-Oct-09 6:02 
GeneralRe: unable to display the image in gridview Pin
vikas shukla22-Oct-09 19:15
vikas shukla22-Oct-09 19:15 
Questionproduct image Pin
vikas shukla22-Oct-09 2:58
vikas shukla22-Oct-09 2:58 
AnswerRe: product image Pin
Rob Branaghan22-Oct-09 5:52
Rob Branaghan22-Oct-09 5:52 
AnswerRe: product image Pin
April Fans25-Oct-09 21:47
April Fans25-Oct-09 21:47 
QuestionRunning with 64 bit Pin
dptalt22-Oct-09 2:56
dptalt22-Oct-09 2:56 
AnswerRe: Running with 64 bit Pin
compninja2522-Oct-09 3:12
compninja2522-Oct-09 3:12 
QuestionMenus & Views Pin
sriharsha_1222-Oct-09 2:47
sriharsha_1222-Oct-09 2:47 
AnswerRe: Menus & Views Pin
April Fans25-Oct-09 21:44
April Fans25-Oct-09 21:44 
AnswerRe: Menus & Views Pin
sriharsha_1226-Oct-09 18:21
sriharsha_1226-Oct-09 18:21 
Questionproblem with IIS 6.0 Pin
shankbond22-Oct-09 2:47
shankbond22-Oct-09 2:47 
AnswerRe: problem with IIS 6.0 Pin
shashankbv22-Oct-09 5:06
shashankbv22-Oct-09 5:06 

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.