Link to home
Start Free TrialLog in
Avatar of grg-it
grg-it

asked on

Ajax control inside web user control won't show up on .aspx page, why?

I have web user control with couple of Ajax controls like CollapsiblePanelExtender, HovenMenuExtender and so on. These Ajax control shows up well on web user control. But as soon as I drag and drop this web user control on to some .aspx page, anything on web user control won't show up. All I see is an empty white space. Now just to make sure that this is because of Ajax controls, I got rid of all Ajax controls and left only ASP.NET rich controls on it. And everything worked as normal. So what is it that I am missing? Any help would ofcourse be helpful. Thanx
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

Do you have a script manager on the web page?  There should be no script managers in the user controls themselves because there can only be one and you might have N user controls.
Avatar of grg-it
grg-it

ASKER

ged325:

Do you have a script manager on the web page?  There should be no script managers in the user controls themselves because there can only be one and you might have N user controls.

I have it in this order --> .aspx page --> webuser control --> Ajax Controls.
Please tell me where should I put scriptmanager. Should it be on web page or master page?

Thanx
Avatar of grg-it

ASKER

Sorry somehow post chew up order I put it in. Correct order is -->

I have it in this order --> Master Page --> aspx page --> webuser control --> Ajax Controls.
Please tell me where should I put scriptmanager. Should it be on web page or master page?
I would recommend the master page so it propogates down to all pages.
ASKER CERTIFIED SOLUTION
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial