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

Pretty simple Ajax Combo/Grid failing

8 Answers 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 2
Nick asked on 15 Aug 2008, 03:07 PM
I've got a web page with pretty much no code behind.

It has a radcombo box populated via sqldatasource. It is on autopostback.
It has a grid populated via sqldatasource using the radcombo box selected value.
There is an ajax manager:
  RadComboBox -> Grid
  Grid -> Grid

The combox box works great - I select an item and the grid refreshes showing the correct data, all ajaxed.

However paging does not work.  If I click on a page #, the loading messages shows up in the statusbar of the grid and the page does not move.

This seems like a pretty basic setup to me. 

Thanks,
Nick H

8 Answers, 1 is accepted

Sort by
0
Nick
Top achievements
Rank 2
answered on 15 Aug 2008, 03:08 PM
Further testing - If I remove all ajax, it works correctly.
0
Konstantin Petkov
Telerik team
answered on 18 Aug 2008, 06:26 AM
Hello Nicholas,

Do you use single RadAjaxManager only? Can you please post the markup especially all the AJAX stuff so that we can see what might be causing the problem?

Does the paging function properly if you don't trigger an AJAX request from the ComboBox?

Sincerely yours,
Konstantin Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nick
Top achievements
Rank 2
answered on 18 Aug 2008, 12:21 PM
Unfortunately development has continued and we are no longer using the combobox.  However, I am sending three grids that interact perfectly until the ajax is activated.

Normally, checking a box in grid one populates grid two.  Checking grid two populates grid three.  Again, works perfectly until the ajax is added.

Once ajax is on, the first grid will update the second grid.  However, the second grid's checkboxes no longer function - and thus the third grid never appears.  I will also assemble a test on the combobox/gird interaction and attach when I have time.

BTW, this is using the ajaxmanager proxy with a master page providing the actual ajaxmanager.

I am including the base source with the master page.  I've also added a 'view source' after the first grid has populated the second grid.  I am running the latest rev as well. 

AjaxIssue.zip
0
Konstantin Petkov
Telerik team
answered on 18 Aug 2008, 02:32 PM
Hi Nicholas,

Thank you for posting the source.

I reviewed that and the AJAX settings I suspected could be incomplete look fine. Just to make sure, can you please wrap the three grids in a single container like ASP:Panel and add Panel-> Panel AJAX setting?

As to the check boxes, what do you mean by "checkboxes no longer function". Does their checked server-side event fire?

Best wishes,
Konstantin Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nick
Top achievements
Rank 2
answered on 18 Aug 2008, 05:45 PM
Changed it to a panel -> panel.  Same problem.   Have put new source and view source on previous link.

Sorry I was unclear.  Here's the current problem:

There are three grids.  Clicking checkboxes in grid 1 populates grid 2.  Clicking checkboxes in grid 2 uses values from grid 1 and grid 2 to populate grid3.

Works perfectly with no ajax.

With ajax, grid 1 checkboxes populate grid 2.   Clicking a checkbox in grid 2 does a callback (you can see ready change to loading) but nothing happens and the checkbox does not stick.  I put  a stop point in the onclick for checkboxes in grid 2 and it does not stop.  This is exactly the same problem I had with the combobox/grid ajax - the combo box would populate the grid, but clicking on a page number did a callback that changed nothing.

I'm going to try removing the masterpage and see if that makes a diff.
0
Nick
Top achievements
Rank 2
answered on 18 Aug 2008, 06:29 PM
I converted this to a stand alone page (no master page, no proxy stuff) and it still doesn't work.

0
Konstantin Petkov
Telerik team
answered on 19 Aug 2008, 06:01 AM
Hi Nicholas,

It's great you were able to isolate the problem further. I will kindly ask you to send it through a regular support ticket from your Client.Net account. We will review it shortly and get back to you with our findings/resolution.

Thank you for the understanding and cooperation!

Regards,
Konstantin Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nick
Top achievements
Rank 2
answered on 19 Aug 2008, 02:05 PM
Found issue - I have a view state compressor that apparently won't work with the new telerik.
Tags
Grid
Asked by
Nick
Top achievements
Rank 2
Answers by
Nick
Top achievements
Rank 2
Konstantin Petkov
Telerik team
Share this question
or