‘Resources.strings’ is inaccessible due to its protection level
New DiscussionHi,
I took from samples WebSchedule project in order to create a Sharepoint Web Part.
To accomplish this I created a User Control containing webschedule.
This runs fine as user control in a default.aspx page.
Next step is to add this in Sharepoint. I created a smart part container and I added this user control in my sharepoint site.
But I have the folloing problems :
1. The WebMonthView doesn’t have styles (has white background)
2. When I dbclick on a date the AppointementAdd I get the following error :
Compiler Error Message: CS0122: ‘Resources.strings’ is inaccessible due
to its protection level
Source Error:
Line 30: {
Line 31: string array = "<script type='text/javascript'> \r\n var AppointmentDialogStrings = [" +
Line 32: "'" + Resources.strings.JS_AppointmentDialog_Error_CantFindDateChooser + "'," + //0
Line 33: "'" + Resources.strings.JS_AppointmentDialog_RecurrenceDescriptionLabel + "'," + //1
Line 34: "'" + Resources.strings.JS_AppointmentDialog_Error_OccurrenceBeforeStartDate + "'," + //2
|
Source
File:
c:\Inetpub\wwwroot\wss\VirtualDirectories\80\Forms\AppointmentAdd.aspx.cs
Line: 32
I appreciate any help
Thank you
D.E.
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
1 Created On
May 23, 2016 Last Post
9 years, 9 months ago