Try Now
More in this section

Forums / Bugs & Issues / Getting events by date

Getting events by date

2 posts, 0 answered
  1. Kieran
    Kieran avatar
    56 posts
    14 Aug 2008
    09 Mar 2011
    Link to this post

    I am trying to get all the events that are on between a certain date.

    I am using
    GetEvents(minDate,maxDate, null) 

    This will return the event if the start date is between the two dates.
    What if the start date is outside the range but the end date is between the range.  how can I get this event to be returned.


    Start Date : 31/03/2011
    End Date : 02/04/2011

    GetEvents(01/04/2011, 31/04/2011, null)

    This will not return the above event.


  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    10 Mar 2011
    Link to this post
    Hello Kieran,

    You can use MetaSearchInfo filter


    Here is a list with the SearchCondition enumerator values that you can use


    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
2 posts, 0 answered