Solved

URGENT: control not showing within a placeholder

Posted on 2004-08-12
3
207 Views
Last Modified: 2008-02-07
On my web page on my DEV server the following code is working i.e. loading the control and displaying it, but on my Live server the code doesnt seem to be showing the control but there are no errors, can anyone help please
                  
Code within page load

PHRequirements=(System.Web.UI.WebControls.PlaceHolder)this.UTInstructions.FindControl("PHRequirements");
PHRequirements.Controls.Add(LoadControl("en_VisRequirements.ascx"));
0
Comment
Question by:Robinsonx6
3 Comments
 
LVL 9

Expert Comment

by:crescendo
ID: 11782179
Have you rebuilt and copied the site across properly? It sounds like the control is missing from the dll.
0
 
LVL 21

Expert Comment

by:tovvenki
ID: 11782484
Hi,
what are you doing after those lines? can you paste some more code?
what does the control do? display any data? if yes can you check whether there is enough data in the server. sometimes if there is no data to display the control will not display any data and might appear as if it was not loaded. Might sound silly I am sorry for that.

Regards,
venki
0
 
LVL 18

Accepted Solution

by:
DotNetLover_Baan earned 500 total points
ID: 11782763
Replace the old BIN folder with the new one, after compiling.
-Baan
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question