Solved

URGENT: control not showing within a placeholder

Posted on 2004-08-12
3
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: 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

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…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

696 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