c# a
(עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeLearnLibraryForums Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Asked by: "Error Creating Control" when creating an ASP.NET Master Page Expression > Expression Web
Error Creating Control Object Reference In Visual Studio 2010
and SuperPreview Question 0 Sign in to vote I am trying to
Error Creating Control Unknown Server Tag
create an ASP.NET Master Page. These are the steps I follow: From the menu, select File ->New ->Page ->Master error creating control reportviewer Page When "untitled_1.master" opens, the following error appears: "Error Creating Control - ContentPlaceHolder1 Object reference not set to an instance of an object" I get the same error when I http://stackoverflow.com/questions/3159427/error-creating-control-vs2010-masterpage try the following variation: From the menu, select File ->New ->Page ->ASP.NET ->Master Page I also get the error after the initial error when I: Delete ContentPlaceHolder1 Right-click on form1 Select "Manage Microsoft ASP.NET Content Regions Name the content region "Main" and click "Add" I also get the error after the initial error when I: Delete ContentPlaceHolder1 Create a paragraph below form1 https://social.msdn.microsoft.com/Forums/expression/en-US/7eb5b113-1b23-4b0e-8de3-b60daa632319/error-creating-control-when-creating-an-aspnet-master-page?forum=web and right-click it Select "Manage Microsoft ASP.NET Content Regions Name the content region "Main" and click "Add" Based on feedback from a previous similar error, I uninstalled the entire Expression Suite and the .NET framework, re-downloaded them, and re-installed them. This had no effect. I am using Expression Web 4 and .NET framework 4, on Windows XP. Any suggestions?Jolyon Hallows Friday, February 11, 2011 1:25 AM Reply | Quote All replies 0 Sign in to vote Can't help you. You are seeing things you shouldn't be seeing (and that don't happen to me, on my EW4 and Win XP system). If you uninstalled and reinstalled expression web and net framework 4, you've already taken the only suggestion I would have. Friday, February 11, 2011 5:46 AM Reply | Quote 3 Sign in to vote Hi Jolyon, I have this same issue in Visual Studios 2010. I have found a work-around, but not a permanent fix. When you get the error creating contentPlaceHolder1 go to the aspx page holding the html and doing the following usually fixes it. Delete 1 letter from the following: Inherits="whateverPage
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article http://www.codeproject.com/Questions/217726/error-creating-control-contentplaceholder or tip Post your Blog quick answersQ&A Ask a Question http://www.telerik.com/forums/error-creating-control-lt-controlname-gt-object-reference-not-set-to-an-instance-of-an-object View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C error creating / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News error creating control The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ error creating control contentplaceholder1 Rate this: Please Sign up or sign in to vote. See more: Visual-Studio Its something new to me i am having Errors for all the ASP.net Controllers in the Microsoft Visual Studio, but when i'm Debugging in the local host its working without any problems. ///////////////////////////////////////////////////////////////////////////// Error Creating Control - ListView_ProductsMenu Error HRESULT_FAIL has been returned from a call to a COM Component. /////////
digital channels at scale Software Quality Test Studio Release better quality software faster Individual Products DevTools Web UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for PHP UI for JSP UI for Silverlight HTML5/JS Framework Kendo UI NativeScript Desktop UI for WPF UI for WinForms Mobile UI for NativeScript UI for Xamarin UI for UWP (Windows 10) UI for iOS UI for Android UI for Windows Universal UI for Windows Phone PRODUCTIVITY & QUALITY JustCode JustMock Testing Framework Debugging Fiddler JustDecompile JustTrace Reporting & Data Access Reporting Report Server Data Access DEPLOYMENT Modulus Mobile App Development Telerik Platform AppBuilder Analytics Backend Services Testing Test Studio Mobile Testing API Testing Digital Content & Experience Progress Sitefinity CMS Progress Sitefinity Digital Experience Cloud ENTERPRISE FREE TRIALS PRICING SUPPORT & LEARNING ABOUT US YOUR ACCOUNT Search Your Account Telerik Platform Telerik Forums / UI for ASP.NET AJAX Forum / General Discussions / Error Creating Control - Object reference not set to an instance of an object Cancel The title field is required! UI for ASP.NET AJAX Resources Buy Try Feed for this thread 4 posts, 0 answers Kellie 29 posts Member since: Feb 2009 Posted 10 Dec 2010 Link to this post I'm just posting a solution an error I was getting in Visual Studio 2010 as I couldn't seem to find a solution in the Telerik forums when searching. Forgive me if it's already posted. When in Design mode all of my telerik controls on the page were showing the error "Error Creating Control - Object reference not set to an instance of an object" I googled this error and found the 'workaround' solution at this link here. You basically have to go to the OnInit event of your page (or of the class your page is inheriting from) and surround your init code with a check to see if it's not in DesignMode. Once you have surrounded your code with this check, you must close your pages and rebuild the project to make it work. here's the code example: protected override void OnInit(EventArgs e) { if (!this.DesignMode) { //code here } } This is a bug with Visual Studio 2010and not Telerik. Hope this helps someone. Kellie Sebastian Admin 9934 posts Posted 11 Dec 2010 Link to this post Hello Kellie, Thank you for sharing your findings - thus you can help other Telerik community members who encounter the same design-time issue. Hopefully the VS 2010 SP1 release will address it. I updated your Telerik points for this post. Best regards, Sebastian the Telerik team Browse thevast support resources we have to jump start your development with RadControls for