Posted on: 5/5/2011 10:57:32 AM | Views : 239

This problem is driving me nuts for weeks already. I have a user control "~/tools/_calendarrselector.ascx". This UC is in a folder "tools", which is the location of other UC's, their code behind and some aspx files
This UC has the following Control directive:
<%@ Control Inherits="Calendar.CalendarResultsSelector" Src="~/tools/_calendarrselector.ascx.vb" %> The UC inherits from this class:
Namespace Calendar Public Class CalendarResultsSelector Inherits System.Web.UI.UserControl End Class End Namespace On the page containing this UC I do this in the code-behind:
Protected Overloads Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            MyBase.Page_Load(sender, e)
crs = New CalendarResultsSelector
c ...

Go to the complete details ...