I need to create a scheduling control in ASP.NET. Meeting slots are fixed to 30 minutes.
I am showing the slots in tabular format.
My main concern is to DateTime and slot timing like 4 to 4 4:30 to be read in code when user clicks particular cell in table, using HtmlTable control.
Table is created dynamically. Unfortunately the TableCell control don’t have a click event.
In short, how can I detect the DateTime and timing from cell in the table by?
To acheive what you are suggesting you could add a button control to each cell as you are dynamically creating them. You will need to add the event to the button as you are adding them. As you want the slot time I would suggest using the command click event and assigning the specific slot time to the command argument property of the button control.