Thursday, January 19, 2017

How to fix error "The name ‘InitializeControl’ does not exist in the current context" in Visual Web Part

Error: 
 Error InitializeControl

Solution:

 Right click .ascx file and select "Run Custom Tool"



Rebuild the Application

If Issue is still exit then check the Visual Web Part deployment Site URL

Select the project ->click on View and then select properties window 

Or after select project simply press F4.

Site URL


There will be Project File, Project Folder, Active Deployment configuration, Assembly deployment Target, Include Assembly In Package, Sandboxed solution, Server Connection, Site URL. 

Check this Site URL.


Thank you very much

          Fahadullah Karimi

         SharePoint Specialist


Allow anonymous to access Application Page in SharePoint 2013 SharePoint Server Build Numbers Version

No comments:

Post a Comment