Click here to Skip to main content
14,661,615 members
Home » Discussions » ASP.NET
   

ASP.NET

 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
Not Active18-Mar-10 3:02
mentorNot Active18-Mar-10 3:02 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
pramodgorityala18-Mar-10 3:23
Memberpramodgorityala18-Mar-10 3:23 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
Not Active18-Mar-10 3:29
mentorNot Active18-Mar-10 3:29 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
T M Gray18-Mar-10 8:36
MemberT M Gray18-Mar-10 8:36 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
Not Active18-Mar-10 8:58
mentorNot Active18-Mar-10 8:58 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
T M Gray18-Mar-10 10:05
MemberT M Gray18-Mar-10 10:05 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
Not Active18-Mar-10 11:56
mentorNot Active18-Mar-10 11:56 
AnswerRe: Refresh button resubmitting data - How to prevent this? Pin
saini arun18-Mar-10 20:24
Membersaini arun18-Mar-10 20:24 
The one solution I can think of is after saving information in database, redirect the page to another page, which, in turns redirects back to the previous page... D'Oh! | :doh: D'Oh! | :doh: D'Oh! | :doh: D'Oh! | :doh:

I mean, you can do this:

1. Save data in database
2. Redirect to another page, say temp.aspx
3. On temp.aspx, write code to redirect back to the previous page

In this way, after saving the information user will always get a new instance of the same page. Being a new page, hitting refresh button will not again post back the page.
AnswerRe: Refresh button resubmitting data - How to prevent this? Pin
Dinesh Mani18-Mar-10 21:14
MemberDinesh Mani18-Mar-10 21:14 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
saanj18-Mar-10 23:36
Membersaanj18-Mar-10 23:36 
AnswerRe: Refresh button resubmitting data - How to prevent this? Pin
Arun Jacob18-Mar-10 23:50
MemberArun Jacob18-Mar-10 23:50 
QuestionPerformance: Many small file downloads Pin
Pavolh18-Mar-10 1:42
MemberPavolh18-Mar-10 1:42 
AnswerRe: Performance: Many small file downloads Pin
Aman Bhullar18-Mar-10 2:04
MemberAman Bhullar18-Mar-10 2:04 
AnswerRe: Performance: Many small file downloads Pin
R. Giskard Reventlov18-Mar-10 2:19
MemberR. Giskard Reventlov18-Mar-10 2:19 
GeneralRe: Performance: Many small file downloads Pin
Pavolh18-Mar-10 3:33
MemberPavolh18-Mar-10 3:33 
QuestionTypical String Manipulation [modified] Pin
Satish - Developer17-Mar-10 23:40
Member Satish - Developer17-Mar-10 23:40 
AnswerRe: Typical String Manipulation Pin
Sneha Bisht18-Mar-10 0:54
MemberSneha Bisht18-Mar-10 0:54 
GeneralRe: Typical String Manipulation Pin
Satish - Developer18-Mar-10 2:22
Member Satish - Developer18-Mar-10 2:22 
GeneralRe: Typical String Manipulation Pin
Not Active18-Mar-10 2:36
mentorNot Active18-Mar-10 2:36 
AnswerRe: Typical String Manipulation Pin
JHizzle18-Mar-10 1:45
MemberJHizzle18-Mar-10 1:45 
GeneralRe: Typical String Manipulation Pin
Satish - Developer18-Mar-10 2:07
Member Satish - Developer18-Mar-10 2:07 
GeneralRe: Typical String Manipulation Pin
JHizzle18-Mar-10 3:53
MemberJHizzle18-Mar-10 3:53 
AnswerRe: Typical String Manipulation Pin
Not Active18-Mar-10 2:46
mentorNot Active18-Mar-10 2:46 
GeneralRe: Typical String Manipulation Pin
Satish - Developer18-Mar-10 3:01
Member Satish - Developer18-Mar-10 3:01 
GeneralRe: Typical String Manipulation Pin
Not Active18-Mar-10 3:04
mentorNot Active18-Mar-10 3:04 

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.