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

cannot find controls in radscheduler resource header template

1 Answer 102 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ei Wai
Top achievements
Rank 1
Ei Wai asked on 09 Mar 2015, 02:58 AM
Hello,

I am trying to add button control in ResourceHeaderTemplate. But I cannot find button control inside RadScheduler1_ResourceHeaderCreated event. Control returns null when I tried to use e.Container.FindControl . I also try out image control as explained in this demo .  But that also returns null. I tried to add other controls like HyperLink and LinkButton. But these controls also returns null. The only thing I can do is add a label control. Label control can find and assign value. But I need button control. My requirement is to copy monday appointments to the rest of the week when user click on the resource. Can anyone help me on this issue?

Thank you.

Best regards,
Ei Wai 

1 Answer, 1 is accepted

Sort by
0
Ei Wai
Top achievements
Rank 1
answered on 09 Mar 2015, 05:41 AM
Hi,

Ok. I got the answer. Somehow I have two resource header template in the scheduler.  I removed one and it is working fine now.

Best regards,
Ei Wai
Tags
Scheduler
Asked by
Ei Wai
Top achievements
Rank 1
Answers by
Ei Wai
Top achievements
Rank 1
Share this question
or