Click here to Skip to main content
15,847,903 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have written following code to redirect ..I just a bit confused that when control will move inside if block and will perform redirection..
if (Page.IsCallback)
Updated 6-Sep-13 2:13am
k@ran 6-Sep-13 7:12am    
i mean when page.isCallback will be true

1 solution

Refer these two links and you will be clear what happens here with your code.

Difference between a Postback and a Callback[^]

Page.IsCallback Property [msdn][^]

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900