We help IT Professionals succeed at work.

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

Medium Priority
470 Views
Last Modified: 2013-11-25
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
Comment
Watch Question

Kyle AbrahamsSenior .Net Developer
CERTIFIED EXPERT

Commented:
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.
Kyle AbrahamsSenior .Net Developer
CERTIFIED EXPERT

Commented:

Author

Commented:
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

Author

Commented:
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?
Kyle AbrahamsSenior .Net Developer
CERTIFIED EXPERT

Commented:
I would recommend the master page so it propogates down to all pages.
Senior .Net Developer
CERTIFIED EXPERT
Commented:

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.