Solved

URGENT: control not showing within a placeholder

Posted on 2004-08-12
3
204 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get Reply from SSIS to intranet site when finished 3 33
Not showing page correctly 3 29
Syntax Error 2 43
Reset asp.net login password 4 26
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

919 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now