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

Loading panel with ascx user controls

1 Answer 148 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 07 Aug 2011, 08:13 PM
I have an .aspx page with two user controls.
User Control A has an asp:ImageButton control that, when clicked, raises an event to the page. The page performs some actions and then makes visible an asp:Panel that contains User Control B. User Control B merely contains some labels, buttons, etc for display purposes.
What I would like is this: when the user clicks the button in User Control A, a loading panel would kick in where User Control B is going to be displayed so that the user knows something is happening.

I have implemented loading panels before, but the pieces involved here with the user controls and event raising seems to make this more challenging.

Is what I am trying to do possible? If so, what am I missing?

Thanks,
Dennis

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 08 Aug 2011, 05:23 AM
Hello Dennis,

Check the following demo which implements loading user controls.
Ajax / Loading User Controls.

Thanks,
Princy
Tags
Ajax
Asked by
Dennis
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or