I have created a NewsRotator user control as specified in your online documentation but am having problems getting it to work at present. I receive the same error whenever I run this control under Sitefinity 4.1;
Object Reference not set to an instance of an object
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
This refers to the line line where Rad.Rotator1.DataSource
I have attempted to change this assignment in several ways, so that it
is not reading images, not reading from the Sitefinity database and even
just reading a simple list of text strings, but I continually get the
same error when I load the page where the control is installed
.Where(n => n.Status == ContentLifecycleStatus.Live)
this.RadRotator1.DataSource = rotatorList;
The rotatorList is read fine in this example but as soon as an attempt is made to assign to the RadRotator1 data source, the exception occurs. The rest of the code is as per the example, can you explain where I am going wrong with this?