Click here to Skip to main content
15,914,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Editable GridView Pin
Not Active11-Oct-10 2:11
mentorNot Active11-Oct-10 2:11 
GeneralRe: Editable GridView Pin
treuveni11-Oct-10 7:24
treuveni11-Oct-10 7:24 
AnswerRe: Editable GridView Pin
Steve Echols13-Oct-10 7:14
Steve Echols13-Oct-10 7:14 
AnswerRe: Editable GridView Pin
MasttsaM18-Oct-10 0:48
MasttsaM18-Oct-10 0:48 
QuestionAjax app with tabs Pin
Haim Nachum9-Oct-10 9:34
Haim Nachum9-Oct-10 9:34 
AnswerRe: Ajax app with tabs Pin
Not Active9-Oct-10 19:37
mentorNot Active9-Oct-10 19:37 
QuestionResponse.Redirect(url, bool) Pin
Tamimi - Code9-Oct-10 6:11
Tamimi - Code9-Oct-10 6:11 
AnswerRe: Response.Redirect(url, bool) PinPopular
Brij9-Oct-10 7:53
mentorBrij9-Oct-10 7:53 
Tamimi - Code wrote:
Indicates whether execution of the current page should terminate.


When we use Response.Redirect, it tries to end the current request and start a new request.The second parameter is endResponse, when it is set to true, it calls Response.End method, which throws an exception when it gets completed. This is bydefault behaviour of this method.This method is provided only for compatibility with ASP.

So it is recommended to set it false, to avoid the exception because it is not good for the website performance.

If you still want to set it true. Then you should firts call CompleteRequest() method. It will avoid calling end method.
Cheers!!
Brij
My Blog:http://brijbhushan.wordpress.com

Check my latest Article :ViewState - Various ways to reduce performance overhead

Generalthank you Pin
Tamimi - Code9-Oct-10 22:36
Tamimi - Code9-Oct-10 22:36 
QuestionDownload without showing the real link Pin
Jassim Rahma9-Oct-10 5:15
Jassim Rahma9-Oct-10 5:15 
AnswerRe: Download without showing the real link Pin
Brij9-Oct-10 5:46
mentorBrij9-Oct-10 5:46 
AnswerRe: Download without showing the real link [modified] Pin
Karthik. A9-Oct-10 12:27
Karthik. A9-Oct-10 12:27 
Questionview external websites in a panel Pin
Jassim Rahma9-Oct-10 4:53
Jassim Rahma9-Oct-10 4:53 
AnswerRe: view external websites in a panel Pin
Abdulhafeezo9-Oct-10 7:45
Abdulhafeezo9-Oct-10 7:45 
AnswerRe: view external websites in a panel Pin
Anurag Gandhi9-Oct-10 19:59
professionalAnurag Gandhi9-Oct-10 19:59 
AnswerRe: view external websites in a panel Pin
Ravi Sant3-May-11 0:22
Ravi Sant3-May-11 0:22 
Questionajax Pin
Thanusree Duth8-Oct-10 23:21
Thanusree Duth8-Oct-10 23:21 
AnswerRe: ajax Pin
Ankur\m/9-Oct-10 0:47
professionalAnkur\m/9-Oct-10 0:47 
AnswerRe: ajax Pin
Abhijit Jana9-Oct-10 1:01
professionalAbhijit Jana9-Oct-10 1:01 
Questionhow to get data from xml? Pin
srisairam7-Oct-10 23:46
srisairam7-Oct-10 23:46 
AnswerRe: how to get data from xml? Pin
Murugesan G8-Oct-10 1:35
Murugesan G8-Oct-10 1:35 
AnswerRe: how to get data from xml? Pin
Not Active8-Oct-10 2:18
mentorNot Active8-Oct-10 2:18 
AnswerRe: how to get data from xml? Pin
T M Gray8-Oct-10 12:14
T M Gray8-Oct-10 12:14 
AnswerRe: how to get data from xml? Pin
raghuv92468-Oct-10 20:46
raghuv92468-Oct-10 20:46 
QuestionCalender Pin
future38397-Oct-10 17:59
future38397-Oct-10 17:59 

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.