Pages

Check if page was invoked by Server.Transfer or PostBackUrl

In my earlier post i explained about Server.Transfer and PostBackUrl (cross-page posting) and the differences between them. Here i will show how to check which one invoked the current page.

Server.Transfer, Response.Redirect and PostBackUrl


When i was beginner i always struggled with these techniques. Always wondered what are the exact differences between Response.Redirect, Server.Transfer & PostBackUrl, and most importantly "when should one be used over other!?" Let me explain each of these in details.

Validation controls in asp.net

Here i am going to explain one of the most important and useful set of controls, validation controls in asp.net (here onwards i will refer them as validators, for the sake of simplicity).