search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How can we disable cell click

Asked by Bhawesh Jha
15 years ago.
Hello

I want to disable cell click on particular time period. I tried with BeforeCellrender event, but it doesn't have any property so that i can disable click on particular cell. I have a datatable of Dayofweek(monday, tuesday, etc), From-hour and to-hour. And I want to disable area from From-hour to To-hour on specific day. Please suggest.




Comment posted by Dan Letecky
15 years ago.
It's not possible to achieve this smoothly at the moment.
  • You are able to handle this on the client side (TimeRangeSelectedHandling="JavaScript") or on the server side (TimeRangeSelectedHandling="CallBack" or "PostBack"). In the event handler, you can deny requests that include the forbidden times.
  • However, it's not possible to prevent this before the TimeRangeSelected event is fired (i.e. you will always be able select any cell).
Comment posted by Bhawesh Jha
15 years ago.
thanks
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.