CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2005
    Posts
    78

    Question doPostBack not updating source

    Hi,

    I am landing on a page which lists a few thousand entries. When you land on the first page you get to see the first 20 items and then to navigate through the rest you have lots of next page links.

    Internally these are navigated to by postbacks of the form below:

    href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$dgSearch','Page$3')">


    When i say click on 'Page 3' the browser view is updated with fresh data for page 3 but when I then view source, what i see is still page 1 data. So the view has updated but view source has not been updated?

    Can anybody explain to me whats going on here?

    Thanks.

  2. #2
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: doPostBack not updating source

    Are you using Frames?

    Have you tried looking at the Source of Page and then comparing it with the one on Page3?

  3. #3
    Join Date
    Apr 2005
    Posts
    78

    Re: doPostBack not updating source

    I apologise, but i subsequently posted a thread into the client side scripting forum which is beginning to hopefully develop into a solution:
    http://www.codeguru.com/forum/showthread.php?t=482022

    To answer your question No to frames and yes to comparing - no difference.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured