SelectedDates on Row/Header click

4 posts, 0 answers
  1. Antonio
    Antonio avatar
    3 posts
    Member since:
    Nov 2013

    Posted 05 Nov 2013 Link to this post



    Hi Telerik Support, 


    I'm using a singlemonth calendar with autopostback false, showcolumn/row headers true, enablemultiselect true and all code on client side and i need to know all the days that  are going to be selected when i click on the column/header row. From what i saw i can get the row/column index but dont know how to get all the days in that row/column in the currentview.

    Need this to see if the days exist in another array and see if i want to select/deselect or only select the dates that dont exist on the other array.

    Thanks, 
    António
  2. Antonio
    Antonio avatar
    3 posts
    Member since:
    Nov 2013

    Posted 05 Nov 2013 Link to this post


    Hey, 


    Think i can resolve it with the sender.get_selectedDates()  of the event

    Thanks,

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Antonio
    Antonio avatar
    3 posts
    Member since:
    Nov 2013

    Posted 05 Nov 2013 Link to this post


    Seems it isn't working. anyone has an ideia?
  5. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 08 Nov 2013 Link to this post

    Hello Antonio,

    You could use OnDateSelecting client-side event and check what date is about to be selected. This event could be used to cancel the selection. Note that when the user clicks on a column or a row this event will be fired for every date that is going to be selected. This article illustrates how OnDateSelecting could be used.

    Regards,
    Viktor Tachev
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top