How to get the selected date and time in calender control

  1. #1

    How to get the selected date and time in calender control

    Thanks The calender is shows now. But when i write the Day click and i want the get the particular date and time in which the click.
    Please help me out for this.
    The code is
    <ext:CalendarPanel ID="CalendarPanel1" runat="server"
                                Region="Center" ShowDayView="false" ShowMonthView="false"
                                ActiveIndex="2"
                                Border="false" Height="400">
                        <EventStore runat="server">
                            <Events>
                                <ext:Event Title="My event" StartDate="2010/11/13" EndDate="2010/11/13" IsAllDay="false" CalendarId="1"/>
                            </Events>
                        </EventStore>
                        <DirectEvents>
                            <DayClick   OnEvent="EventClick"  />
                        </DirectEvents>
            </ext:CalendarPanel>
  2. #2
  3. #3
    hi Daniil,

    Thanks for the solution. Can you give the solution for the custom the time interval in the clander. Now it comes at the 10,10.30,11,11.30 and so on . I want it 10,10.15,10.30,10.45,11 and so on...
  4. #4
    Please start a new forum thread.

Similar Threads

  1. Replies: 0
    Last Post: May 05, 2012, 7:25 AM
  2. Calender control for another approch
    By gayancc in forum 1.x Help
    Replies: 6
    Last Post: Feb 08, 2011, 10:15 AM
  3. How to set the time range in calender panel control.
    By PrasadJoshi in forum 1.x Help
    Replies: 1
    Last Post: Dec 21, 2010, 10:09 AM
  4. ext Calender time interval setting
    By PrasadJoshi in forum 1.x Help
    Replies: 1
    Last Post: Dec 20, 2010, 11:49 AM
  5. [CLOSED] Control for date and time
    By 78fede78 in forum 1.x Premium Help
    Replies: 7
    Last Post: Nov 10, 2010, 4:46 PM

Posting Permissions