Solved

URGENT: control not showing within a placeholder

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

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…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

803 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