Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
WebDayView - Get Selected time for new activity
posted

When I have users who wish to create a new appointment using a WebDayView control, I'd like for them to be able to set the start time by double-clicking on a specific time slot in the DayView (note, I'm using my own appointment dialog because the default one didn't work for my needs).  Is there a way I can get which time slot the user selected to create a new activity?

Parents
No Data
Reply
  • 75
    Suggested Answer
    posted

    Hi Sukasa,

    you may be able to get the html element (time slot) that was double-clicked from DblClick client event. This event contains parameters oDayView (the DayView client-side object), oEvent (the event object, which allows you to cancel the event, cancel the postback, or request a postback), and element (the html element that correspondends to what was double-clicked).

    Each time slot is a tablecell (td) that has unique uie value, for example for 12am. uie = "SLOT0". 12:30am, uie = "SLOT1" and so forth.

    Regards,

    Riana

    Infragistics ASP.NET team

Children