2 Replies Latest reply on Jun 8, 2017 1:58 PM by DEEPAK SADANAND

    Popup calendar date selection issue


      Hello Everyone,


      I am storing the max trading date available in my dataset in a variable say vMaxTradingDate. I am displaying a pop out calendar wherein the user can select

      a date and then I display the view for the selected Calendar date. This works fine as long as the selected calendar date is within the range of trading dates
      available in my dataset.


      However, when I select a date that is greater than vMaxTradingDate the view goes blank. How do I either restrict the user from selecting such unavailable

      dates or on selecting such date in the calendar a message "Date not available" is displayed?


      I would then apply the same logic of any date selected earlier than the minimum trading date available too.


      Appreciate your time and help.