>Here is how I am testing if the page is re-posting. I put the following code in the Page_Load method:
>
>On the second thought, I think in my case the page is NOT reposting. Here is what I did to verify it (please tell me if I am correct). I put the following code in the Page_Load method of the page. And I never see the .text showing ‘reposted’.
>
>
> if (!Page.IsPostBack)
> {
> OutputLabel.Text = "Just loaded the page ";
> }
> else
> {
> OutputLabel.Text = "Page Reposted ";
> }
>
>
>And I NEVER see the text "Page Reposted" Does it mean that the flickering of the page tab is just a normal occurrence?
I wanted to verify some of that. I am adding this reference:
https://forums.asp.net/t/1416127.aspx?how+to+check+postbackYou may see if this corresponds. On first look, your code appears to be ok.
However, I assume your form action method is post.