I have some common code which I want to run on all pages. For this reason, I have placed this code in the MasterPage's Page_Load event. Is the following the right way to use it:
if (!Page.IsPostBack)
{
// common code
}
Thanks in advance..
Go to the complete details ...