AJAX Suggestions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jonathan Wood

    #1

    AJAX Suggestions

    I am completely new to AJAX.

    I have a GridView control and my client is complaining that, whenever they
    select a row in the grid, the page resets to the top of the page.

    It seems like AJAX would be ideal if I could have the GridView update
    without updating the entire page. However, most of the stuff I read about
    AJAX doesn't seem to help because it's the GridView control that is handling
    the logic here. Does anyone know if this logic can be overridden to work
    using AJAX?

    Any tips appreciated.

    Thanks.

    --
    Jonathan Wood
    SoftCircuits Programming


  • =?Utf-8?B?YnJ1Y2UgYmFya2Vy?=

    #2
    RE: AJAX Suggestions

    no ajax required. just set MaintainScrollP ositionOnPostBa ck

    -- bruce (sqlwork.com)


    "Jonathan Wood" wrote:
    I am completely new to AJAX.
    >
    I have a GridView control and my client is complaining that, whenever they
    select a row in the grid, the page resets to the top of the page.
    >
    It seems like AJAX would be ideal if I could have the GridView update
    without updating the entire page. However, most of the stuff I read about
    AJAX doesn't seem to help because it's the GridView control that is handling
    the logic here. Does anyone know if this logic can be overridden to work
    using AJAX?
    >
    Any tips appreciated.
    >
    Thanks.
    >
    --
    Jonathan Wood
    SoftCircuits Programming

    >
    >

    Comment

    • Jonathan Wood

      #3
      Re: AJAX Suggestions

      How about that? Since that is controlled by the browser, I don't have any
      idea how that even works.

      Thanks.

      --
      Jonathan Wood
      SoftCircuits Programming


      "bruce barker" <brucebarker@di scussions.micro soft.comwrote in message
      news:A086F308-A6E3-4635-AF69-C3129C8D066E@mi crosoft.com...
      no ajax required. just set MaintainScrollP ositionOnPostBa ck
      >
      -- bruce (sqlwork.com)
      >
      >
      "Jonathan Wood" wrote:
      >
      >I am completely new to AJAX.
      >>
      >I have a GridView control and my client is complaining that, whenever
      >they
      >select a row in the grid, the page resets to the top of the page.
      >>
      >It seems like AJAX would be ideal if I could have the GridView update
      >without updating the entire page. However, most of the stuff I read about
      >AJAX doesn't seem to help because it's the GridView control that is
      >handling
      >the logic here. Does anyone know if this logic can be overridden to work
      >using AJAX?
      >>
      >Any tips appreciated.
      >>
      >Thanks.
      >>
      >--
      >Jonathan Wood
      >SoftCircuits Programming
      >http://www.softcircuits.com
      >>
      >>

      Comment

      • =?Utf-8?B?YnJ1Y2UgYmFya2Vy?=

        #4
        Re: AJAX Suggestions

        its pretty trival. there is client code emitted by .net that at postback
        stores the current x & y positions in a hidden field. then on render if the
        hidden fields have a value, its render the javascript to do the scroll.

        -- bruce (sqlwork.com)


        "Jonathan Wood" wrote:
        How about that? Since that is controlled by the browser, I don't have any
        idea how that even works.
        >
        Thanks.
        >
        --
        Jonathan Wood
        SoftCircuits Programming

        >
        "bruce barker" <brucebarker@di scussions.micro soft.comwrote in message
        news:A086F308-A6E3-4635-AF69-C3129C8D066E@mi crosoft.com...
        no ajax required. just set MaintainScrollP ositionOnPostBa ck

        -- bruce (sqlwork.com)


        "Jonathan Wood" wrote:
        I am completely new to AJAX.
        >
        I have a GridView control and my client is complaining that, whenever
        they
        select a row in the grid, the page resets to the top of the page.
        >
        It seems like AJAX would be ideal if I could have the GridView update
        without updating the entire page. However, most of the stuff I read about
        AJAX doesn't seem to help because it's the GridView control that is
        handling
        the logic here. Does anyone know if this logic can be overridden to work
        using AJAX?
        >
        Any tips appreciated.
        >
        Thanks.
        >
        --
        Jonathan Wood
        SoftCircuits Programming

        >
        >
        >
        >

        Comment

        Working...