1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / How do you access the RadControls > RadCalendar from the Toolbox?

How do you access the RadControls > RadCalendar from the Toolbox?

6 posts, 0 answered
  1. andersleet
    andersleet avatar
    155 posts
    Registered:
    03 Jun 2009
    22 Jun 2009
    Link to this post
    Hi, I am testing a site using the Community edition of sitefinity 3.6. I am following one of the webinars you have posted, "Designing & Skinning with Sitefinity", and around 14:50 he demonstrates the RadCalendar control in his layout. In the video, when he is editing a page to populate the content place holders with generic content, I can see the RadCalendar control in the sidebar but it says "error rendering the control. object reference not set to an instance of an object". Under my toolbox, there is only RadTabStrip, RadMenu, and RadPanelBar. I do not think this is a limitation of the Community edition as it says on the features page that Telerik's RadControls for ASP.NET AJAX is built-in.

    Please advise on what steps I should take to enable the additional controls.

  2. andersleet
    andersleet avatar
    155 posts
    Registered:
    03 Jun 2009
    22 Jun 2009
    Link to this post
    Well, I seem to have solved my problem. All I had to do was add the following line:

    <add name="RadCalendar" 
         section="RadControls" 
         type="Telerik.Web.UI.RadCalendar, Telerik.Web.UI" /> 

    to my web.config. I would imagine any additional RadControls would be added in the same fashion.
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    22 Jun 2009
    Link to this post
    Hello andersleet,

    You can add all controls from the Telerik.Web.UI using the same approach. You need to have the correct type of the namesepace.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  4. Jeff
    Jeff avatar
    4 posts
    Registered:
    30 Jan 2009
    16 Feb 2010
    Link to this post
    I just added the provided snippet:

    <add name="RadCalendar" section="RadControls"  type="Telerik.Web.UI.RadCalendar, Telerik.Web.UI" />

    to my webconfig, however, after saving the file, the RadCalendar control does not show up in the toolbox. I've tried navigation away and back. I've also cleared my browser cache. Are any other steps necessary?

    Thanks.
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    16 Feb 2010
    Link to this post
    Hello Jeff,

    The following configuration should work without problems.

        <toolboxControls>   
                    <clear />
            <add name="RadCalendar" section="RadControls"  type="Telerik.Web.UI.RadCalendar, Telerik.Web.UI" />
     
     
     ......
    </toolboxControls>


    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  6. Jeff
    Jeff avatar
    4 posts
    Registered:
    30 Jan 2009
    16 Feb 2010
    Link to this post
    Ivan, This worked. Thanks. Now I'll need to hook it up to the Events module so that it pulls the events.
Register for webinar
6 posts, 0 answered