After creating the custom component, I wanted to test it on the CalendarTest page. I, too, could not access the user component through the "For" code. I did not find the solution online, but through the trial version and the error I fixed it with the following steps:
1) in an aspx file, <% @Page ... requires "CodeFile =" instead of "src =" to point to the code behind the file
2) in the code behind the aspx.cs file, I need to replace "public class CalendarTest" with "public partial class CalendarTest"
Surge source share