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

[Solved] How To Find Controls

1 Answer 106 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Nagesh Mynedi
Top achievements
Rank 1
Nagesh Mynedi asked on 09 Dec 2009, 12:50 PM
How to find label inside the appointment template in radscheduler.....

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 Dec 2009, 01:45 PM
Hi Nagesh,

You can access the Label placed in AppointmentTemplate in 'AppointmentCreated' event as shown below.

CS:
 
    protected void RadScheduler1_AppointmentCreated(object sender, AppointmentCreatedEventArgs e) 
    { 
        Label templateLabel = (Label)e.Container.FindControl("Label1"); 
        templateLabel.Text = "My text"
    } 

-Shinu.
Tags
Scheduler
Asked by
Nagesh Mynedi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or