PostBack sometimes it works and sometimes it does not. This is my code:
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
some code here
}
}
This is the server side:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Page.ascx.cs" Inherits="Controls_Page" %>
The problem that sometimes the postback gets executed and sometimes it does not. Please advise. Thanks.