I have an updatepanel with a gridview
The paging works perfect.
When I view the pagesource when Im on page 1 in the gridview I can see the values that are displayed to the end-user (for example username, age and some user comment)
When I go to the second page, the end-user can see the values in the gridview as intended, but when I view the page source I cant find the displayed values.
So where does this text actually reside? Im used to that in the pagesource I can always view what is displayed to the end-user.
Hello,
most browsers will show you the page source as it was the first time you loaded the page. With Ajax you are changing parts of the page after it has loaded. If you want to get real insight into the changes try theFirebugadd-on for Firefox. It will show you the page source in a nice collapsible treeas it is, live. Also, you can use it to check out the communication to and from the server during an Ajax call and much much more.
Good luck!
No comments:
Post a Comment