• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 449
  • Last Modified:

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
0
grg-it
Asked:
grg-it
  • 4
  • 2
1 Solution
 
Kyle AbrahamsSenior .Net DeveloperCommented:
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.
0
 
Kyle AbrahamsSenior .Net DeveloperCommented:
0
 
grg-itAuthor 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
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
grg-itAuthor 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?
0
 
Kyle AbrahamsSenior .Net DeveloperCommented:
I would recommend the master page so it propogates down to all pages.
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now