G
Guest
I am having a problem that the page load event fires twice in reponse to an
autopostback. The first time, the IsPostBack property is true, and the
second time it it false. This is causing many uneeded database calls, since
many of them do not need to be fired on a PostBack.
I have already set the AutoEventWireup=false in the ASPX @Page directive. I
am setting the visible property of a datagrid in some of my methods, but I
commented out that line completely and I still have the problem.
Any help is appreciated.
Thanks,
Asa Monsey
autopostback. The first time, the IsPostBack property is true, and the
second time it it false. This is causing many uneeded database calls, since
many of them do not need to be fired on a PostBack.
I have already set the AutoEventWireup=false in the ASPX @Page directive. I
am setting the visible property of a datagrid in some of my methods, but I
commented out that line completely and I still have the problem.
Any help is appreciated.
Thanks,
Asa Monsey