This is a migrated thread and some comments may be shown as answers.

Create new appointment dialog using Radscheduler

6 Answers 230 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
kottu
Top achievements
Rank 1
kottu asked on 22 Dec 2009, 04:56 PM
1.How to show a new appointment dialog in  Radscheduler.
2.Edit radscheduler Controls

anyone can help me...

thanks ,
vignesh

6 Answers, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 24 Dec 2009, 11:12 AM
Hi kottu,

You can take a look at the DataBinding demo in the RadScheduler's section in the QSF. The demo demonstrates a RadScheduler which is bound to a data source, but it also uses a custom dialog instead of the standard  EditAppointmentDialog.

I hope this helps.

All the best,
Boyko Markov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
shinu rag
Top achievements
Rank 1
answered on 13 Feb 2010, 12:41 PM
how can get the selected cell with its details date and time...
thank you...
0
Dobry Zranchev
Telerik team
answered on 15 Feb 2010, 09:11 AM
Hello shinu rag,

Yes you can take the selected cell. Subscribe to MouseDown event of RadScheduler and you can take the RadElement using GetElementAtPoint. If the selected element is a SchedulerCellElement, you can take the date from it:

void radScheduler1_MouseDown(object sender, MouseEventArgs e)
{
    SchedulerCellElement cell = this.radScheduler1.SchedulerElement.ElementTree.GetElementAtPoint(e.Location) as SchedulerCellElement;
 
    if (cell == null || cell as SchedulerHeaderCellElement != null)
        return;
 
  savedDate = cell.Date;
}

Feel free to ask more questions.

Kind regards,
Dobry Zranchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
shinu rag
Top achievements
Rank 1
answered on 15 Feb 2010, 09:55 AM
ok thanx...
can i use these codes to get the values from the selected cell . its working but not sure that its a correct way ...

private void radScheduler1_CellClick(object sender, SchedulerCellEventArgs e)
        {
            SchedulerCellElement ele = e.Cell;
            MessageBox.Show(ele.Date.ToShortDateString());
            MessageBox.Show(ele.Date.ToShortTimeString());
        }
0
shinu rag
Top achievements
Rank 1
answered on 15 Feb 2010, 10:40 AM
how can set the time intervel in

Radscheduler

thank you
0
Dobry Zranchev
Telerik team
answered on 16 Feb 2010, 07:39 AM
Hello shinu rag,

The event CellClick is fired only on a left click. This event is not enough to get the cell element though.

The time interval depends on the view -- in week, workwweek, and day views you can use RangeFactor property.

And for timeline, you can use:
this.radScheduler1.GetTimelineView().GetMinutesTimescales()[0].Visible = true;

I hope that this helps.

Kind regards,
Dobry Zranchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Scheduler and Reminder
Asked by
kottu
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
shinu rag
Top achievements
Rank 1
Dobry Zranchev
Telerik team
Share this question
or