Please read this entire post before responding and refer to the supplied screen shots to fully understand the problem. There are multiple layers of Ajax controls invovled.
On the main page, I have Modal Popup Extender that displays a User Control. Within the User Control is a Popup Control that displays another User Control. User Control #2 which resides on User Control #1 is comprised of a GridView with sorting capabilities. I've got code in place that displays User Control #1 following a postback generated from within it. I've got additional code that displays User Control #2 (the one with the GridView) following a post back. The result is that when User Control #2 is sorted, it remains visible. The problem is that after the postback for User Control #2 ocurrs, the control is not displayed at the coordinates specified in the markup. If I hide it and then redisplay it, it will appear at the specified location.
Protected Sub Page_Load() Handles Me.Load
If TextBoxShowCompanyFacilitySelector.Text = "-1" Then
Dim PopupControlSelectCompanyFacilityId As Object = FormViewContactDetail.FindControl("PopupControlSelectCompanyFacilityId")
These screen shots show the desired and actual behaviors.
View Complete Post