多个更新面板

I am using 1 main update panel which contains Search criteria and a Search button.

In side this main update panel I am using 4 update panels.

These four update panels fetching search results from different 4 SQL quires. Currently I did this.

But my question is, currently the page will come to display after fetching all all 4 update panels.

But I needed, If one panel get full record that one panel will come to display. then next filed panel.... Like this.

Please help me.

If I understand you correctly, you want the inner UpdatePanels to update consecutively when the outer UpdatePanel is updated? If this is correct then by default, all nested UpdatePanels will be updated when the parent UpdatePanel is updated.

It sounds like it would be better to not have the outer UpdatePanel, set a trigger on (inner) UpdatePanel 1 to update when search is clicked, set a trigger on UpdatePanel 2 to update when UpdatePanel 1 updates, etc, etc.

Alternatively, you could implement AJAX calls to Page Methods or Web services to populate the contents of the UpdatePanels and do away with the UpdatePanels instead.

Jason I think you problem may stem from the fact that you have nested your 'SQL' UpdatePanels within the 'Search' Update panel. You may want to separate them and look at AsyncPostBack triggers to get all four to fire once you have entered search critera.

The question is not clear, but you can check the results of the four queries in the Selected event of each of the DataSourceControls you use (I suppose you do), and if you find a record in a set displayed in the previous set, then apply your custom adjustment.

A side question: why using 4 update panels while the whole 5 panels are triggered by the same source (the search button)?