On page 434, the Sender object isn't working for me. You have to write a small event handler for the GridView1_PageIndexChanged event. It is supposed to contain the following:
Code:
PagesLabel.Text = "You are on page # " & (Sender.PageIndex + 1) & " of " & Sender.PageCount
But when I typed "Sender." no intellisense came up. I changed it to GrideView1.PageIndex and GridView1.PageCount and it works.
I can see the usefulness of using the Sender object, and I want to know why it isn't working.
Now I do have my code in a code-behind file instead of in <script> tags, would that be the reason?