More in this section

Forums / Developing with Sitefinity / NewsCalendar control on TIUSite

NewsCalendar control on TIUSite

27 posts, 0 answered
  1. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    23 Oct 2007
    Link to this post
    Sitefinity Team,

    I tried NewsCalendar control on TIUSite and it doesn't display news based on the Category I selected.

    Please let me know if there is a way to fix it.
    Thanks
    Tim
  2. Yasen
    Yasen avatar
    121 posts
    Registered:
    18 May 2013
    24 Oct 2007
    Link to this post
    Hi Tim,

    There is a known issue with the "select" button functionality for all user controls. When you click the "select" button in oder to select categories, the categories you selected are displayed, however, if you click "I'm done" they are not saved.

    If you want the categories to be saved, you have to manually type the categories, without using the "select" button.

    Please let us know if this is your case. Except for this small bug, the NewsCalendar control should be working fine. 

    Sincerely yours,
    Yasen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    24 Oct 2007
    Link to this post

    Hi Yasen,

    Should I type category with semi-colon or just name of the category?

    For example, if the category is Events. Should I type Events; or just Events?

    Please let me know
    Thanks
    Tim




  4. Yasen
    Yasen avatar
    121 posts
    Registered:
    18 May 2013
    24 Oct 2007
    Link to this post
    Hi Tim,

    Doesn't matter.

    Please note that in the official release you cannot type more than one category. This is fixed for the service pack.

    Sincerely yours,
    Yasen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    24 Oct 2007
    Link to this post

    Sitefinity Team

    I manually typed the category and it works now. But the calendar doesn't work the way it should. First, calendar doesn't change the color to indicate there is a news event for that day. Secondly, there is no event fired when I click on the calendar.

    Please let me know if I done something wrong.
    Thanks
    Tim

  6. Yasen
    Yasen avatar
    121 posts
    Registered:
    18 May 2013
    24 Oct 2007
    Link to this post
    Hi Tim,

    We are aware of these bugs and they are already fixed for the 3.1 service pack. Thanks for your feedback.

    Greetings,
    Yasen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    24 Oct 2007
    Link to this post

    Sitefinity Team,

    I am just wondering if you could post a fixed version of this control online for now. I'm kind of have to meet project deadline.

    Thanks a lot
    Tim

  8. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    25 Oct 2007
    Link to this post
    Hello Tim,

    Here are the controls. We are planning a release for the beginning of the next week and you could find the controls fixed there as well.

    Sincerely yours,
    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    25 Oct 2007
    Link to this post
    Thanks a lot!

    Tim
  10. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    25 Oct 2007
    Link to this post

    Sitefinity Team,

    I downloaded and tried the fixed version of this control. For some reason, the calendar still doesn't show different color for the events.

    Please let me know if I did anything wrong.
    Tim

  11. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    25 Oct 2007
    Link to this post

    Sitefinity Team,

    I'm just wondering if you gave me  the right files. I compared with what I got. Its same files as in version 3.1.

    Please let me know
    Tim

  12. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    29 Oct 2007
    Link to this post

    Sitefinity Team,

    The version you gave to me still doesn't work. There is no color indicator shows up on the calendar for the events news.

    Please let me know if I did anything wrong.
    Thanks
    Tim

  13. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    29 Oct 2007
    Link to this post
    Hi Tim,

    Which skin are you using with the NewsCalendar control? The change of the color for a date would be shown only if skin has applied css styles for the selectedDay class of the rendered RadCalendar control. Please check if the HTML rendered when a day is clicked (td tag element) has class="radCalSelect_Calendar selectedDay" attribute.

    Also note that in this control you are able to select only dates which have news items associated with them.

    Let me know if I am missing something.

    All the best,
    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  14. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    29 Oct 2007
    Link to this post
    Sitefinity Team,

    What I did is to copy and past your control into my web folder and edit web.config file to point to your control.

    I just don't know why it doesn't work for me. By the way I did check the ss styles does use selectedDay class. I don't know what else I should look at it.

    Please help
    Tim
  15. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    30 Oct 2007
    Link to this post
    Hi Tim,

    Perhaps the reason why this doesn't work is due to the fact there are no styles applicable for the selectedDay class. You could check this in the files for the skin which the RadCalendar uses.

    Let us know if there is some mismatch in the code.

    Best wishes,
    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  16. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    31 Oct 2007
    Link to this post

    Sitefinity Team,

    I don't think your control specifies which skin file to use. Should I check the default?

    Thanks
    Tim

  17. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    31 Oct 2007
    Link to this post
    Sitefinity Team,

    FYI, I checked default skin folder  Calendar.css file and didn't find any SelectedDay style.

    Please post one of your Calendar style sheet file for reference
    Thanks
    Tim
  18. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    01 Nov 2007
    Link to this post
    Hello Tim,

    In the attachment you can find a screenshot of the NewsEvents Calendar with a selected day on it. The selected day should be bordered with a red line. In fact, the class that sets the style for the selected day is .radCalSelect_Calendar a located in ~/App_Themes/TIU/Calendar/Styles.css file:
    .radCalSelect_Calendar a

    {

       background:transparent url(Img/selectedBG.gif) no-repeat scroll -2px;
       color:#000000 !important;
       font-weight:bold;
    }
    Please check if you have this in the previously mentioned css file.

    If there is some misunderstanding, please contact us to clarify the problem.

    Regards,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  19. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    01 Nov 2007
    Link to this post

    Sitefinity Team,

    Sorry, it doesn't work out for me. I click the day on the calendar which I know there is a news event on that day but it doesn't work at all. I give up. I’m so frustrated.

    Thanks anyway
    Tim

  20. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    01 Nov 2007
    Link to this post

    Sitefinity Team,

     

    I got selectedDay css working before I gave up. :)

     

    But the click event still doesn't work the way it should. For example I know there is event news for that day and when I click that day on the calendar. The page shows no news at all.

    Please help

    Tim

  21. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    01 Nov 2007
    Link to this post
    Hello Tim,

    Which Sitefinity version are you using? Indeed, there were problems in the 3.0 and 3.1 beta releases which were fixed for the SP of 3.1 version. Would check if you are using this and let us know if the problem persists there as well?

    Thanks in advance.

    Kind regards,
    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  22. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    01 Nov 2007
    Link to this post

    Sitefinity Team,

    I downloaded the sp1 for version 3.1 and copied the LATEST version of this control, but it still doesn't work the way it should. When you click the date on the calendar, there is still no news showing up.

    Please help...
    Tim

  23. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    02 Nov 2007
    Link to this post
    Hi Tim,

    In fact, the fix is in NewsList control not in NewsCalendar. So please try to test this with the latest version of TIU site that is a part of Sitefinity 3.1 SP1 installation or with a brand new project. Another possible approach is to upgrade your current site to SP1 using the provided patch.

    Let us know how it goes.

    All the best,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  24. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    02 Nov 2007
    Link to this post
    Sitefinity Team,

    I got following error when I updated my site from v3.1 to sp1 using patch:

    Exception of type 'Telerik.Cms.Data.ControlNotResolvedException' was thrown.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: Telerik.Cms.Data.ControlNotResolvedException: Exception of type 'Telerik.Cms.Data.ControlNotResolvedException' was thrown.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

    Tim

  25. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    05 Nov 2007
    Link to this post
    Hi Tim,

    Could you please check if you have followed these instructions when applying the patch:

    1. BACK UP the project! It is extremely important that a backup is done of both the files and the database before installing anything new. This ensures that whenever anything goes wrong, no information is lost.

    2. UNZIP the patch archive in a temporary folder! Then copy all the unzipped folders and files in the project folder. If you unzip directly in the project folder, you will have to replace all permissions as the new files do not inherit the project's permissions.

    3. If you are upgrading from the official Sitefinity v3.1 to SP1, you need to make the following change to the application web.config file:

    In the telerik/search configuration section, change the defaultProvider name from "Sitefinity" to "Search". The whole section should look like this:

    <search defaultProvider="Search">  
       <providers>  
        <clear/>  
        <add name="Search" type="Telerik.Search.Data.DefaultProvider, Telerik.Search.Data"  connectionStringName="DefaultConnection"/>  
       </providers>  
       <indexingClients>  
        <add name="PageIndex" type="Telerik.Cms.Web.PageIndexingClient, Telerik.Cms" settingsControl="Telerik.Cms.Web.UI.PageIndexSettings, Telerik.Cms" viewSettingsControl="Telerik.Cms.Web.UI.SearchViewControl, Telerik.Cms" description="Provides indexing services for CMS Pages."/>  
       </indexingClients>  
    </search>  

    Also try to rebuild the web site and reset the IIS before accessing the project.

    If everything is set correctly, please send us both your project and database to figure out what is wrong. You can open a new support thread for this purpose.

    Let us know how it goes.

    All the best,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  26. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    05 Nov 2007
    Link to this post

    Sitefinity Team,

    I did everything based on your documentation and still getting same error messages.

    Never mind, I will creating a brand new project using sp1 and migrate my v31 files over to the new project. The more important thing right now is the patch for the archive feature I have been waiting for. Please let me know when the patch will be available.

    Thanks
    Tim

  27. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    05 Nov 2007
    Link to this post

    We'll provide the patch tomorrow, Tim.
    Thanks for your patience and understanding.

    Kind regards,
    Rebecca
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
27 posts, 0 answered