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

ASP.NET page w Tabs and multiple grids

1 Answer 92 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 03 Sep 2009, 08:43 PM

Hello all:

I am working on an ASP.NET web page that requires a tab container with 6 tabs, and 4 separate RadGrids displaying data. There is also a tab where maps are displayed, and the maps are added to the GUI dynamically at run-time because I do not know beforehand how many maps I need. SO data is read from SQL, and for each returned record a map needs to be added to the Tab. In addition I need to be able to sort and page through the data displayed in each of the grids, without affecting the other grids. The data is all loaded based on the selection from a drop-down list

Pics here:

http://thestraumanns.mine.nu/maps/maps.html

Unfortunately the action I am seeing now is that after the data is all loaded. If I click on the “Hotel Name” in the first grid to sort, the sort works, but the maps disappear.

I think I am simply trying to do too much with too many needed page refreshes and that I do not have each grid isolated from the others. I tried putting each grid in its own UpdatePanel, but then they don’t seem to be able to get the info from the drop-down.

Can anyone make a suggestion as to how I should set this up so I can make it work the way I need it to?

Thanks!

John.

 

1 Answer, 1 is accepted

Sort by
0
George
Top achievements
Rank 1
answered on 08 Sep 2009, 10:21 AM
Hi,

I reviewed your photos and I suppose that the dynamically added controls are not persisted after post back. Do you add them on every post back? Do you also use AJAX to update the content of the RadMultiPage?
Please try to remove all AJAX and try to add the dynamic control on every post-back.

Regards,
Petar
Tags
Ajax
Asked by
John
Top achievements
Rank 1
Answers by
George
Top achievements
Rank 1
Share this question
or