Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

using resx file in visual web part

$
0
0

hi
i have created visual web part in SharePoint 2013,

when i try to use resource key i get the following error message on compile : 

"The name 'InitializeControl' does not exist in the current context"

i found out that when i add the code - "<%$Resources:ResourseFileName,Admin%>" to the ascx MARKUP, the VisualWebPartFile.ascx.g.cs file becomes empty..... and i get this error message


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>