This is a migrated thread and some comments may be shown as answers.

[Solved] Conditional updating

1 Answer 125 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Daron
Top achievements
Rank 1
Daron asked on 11 Feb 2008, 12:13 PM
Hello colleagues.

My application is starting to get a little complex now and I was wondering if anyone could help shed some light on my dilemma.

I have 2 grids on a page. If I click a row in gridA it needs to update the contents in gridB (via Ajax). This is working fine.

gridA has thousands of rows of data, so I'm currently enabling virtual scrolling. The problem I have is that when I scroll and the ajax request grabs more data, I want gridA to update itself (via ajax) but not gridB in this circumstance!

However, I've already told the ajaxmanager that gridA updates gridB via ajax. So how do I tell it that it only needs to update gridB when a row is clicked and not when it's scrolled?

Puzzled.
DT

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 12 Feb 2008, 04:57 PM
Hello Daron,

You can use the AjaxRequest() method on the client only for the RowClick event. I've attached a sample project using this functionality in your other forum thread. Please review it and let me know if further help is needed.

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Daron
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or