PC Review


Reply
Thread Tools Rate Thread

AJAX Suggestions

 
 
Jonathan Wood
Guest
Posts: n/a
 
      25th Feb 2008
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

 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      25th Feb 2008
no ajax required. just set MaintainScrollPositionOnPostBack

-- 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
>
>

 
Reply With Quote
 
Jonathan Wood
Guest
Posts: n/a
 
      25th Feb 2008
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
http://www.softcircuits.com

"bruce barker" <(E-Mail Removed)> wrote in message
news:A086F308-A6E3-4635-AF69-(E-Mail Removed)...
> no ajax required. just set MaintainScrollPositionOnPostBack
>
> -- 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
>>
>>


 
Reply With Quote
 
bruce barker
Guest
Posts: n/a
 
      25th Feb 2008
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
> http://www.softcircuits.com
>
> "bruce barker" <(E-Mail Removed)> wrote in message
> news:A086F308-A6E3-4635-AF69-(E-Mail Removed)...
> > no ajax required. just set MaintainScrollPositionOnPostBack
> >
> > -- 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
> >>
> >>

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET AJAX Enabled Website Web.config error (newbie to AJAX) Tony K Microsoft ASP .NET 2 4th May 2007 05:23 AM
Suggestions for SIMPLE AJAX library for 1.1? darrel Microsoft ASP .NET 0 12th Mar 2007 01:40 PM
Deploying ASP.NET AJAX-Enabled Web site to host without AJAX insta =?Utf-8?B?QnJpYW4gRWR3YXJkcw==?= Microsoft ASP .NET 2 21st Feb 2007 10:22 PM
Ajax installed.. where are Ajax controls like popup in my VS toolbox ?? jobs Microsoft ASP .NET 0 6th Nov 2006 01:23 AM
Asyncronous/AJAX Suggestions Please! OJ Microsoft ASP .NET 3 22nd Sep 2006 03:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:02 AM.