Due to programatic circumstances I'm using a radScheduler with a dynamically added resource done like this:
Dim
ds
As
DataSet
'Code to load dataset
Dim
rt
As
New
Telerik.Web.UI.ResourceType
rt.DataSource = ds
rt.Name =
"Members"
rt.ForeignKeyField =
"user_id"
rt.KeyField =
"user_id"
rt.TextField =
"user_name"
rsATSch.ResourceTypes.Add(rt)
Now what I'd like to do is to set the value of the resource when Mode = SchedulerFormMode.AdvancedInsert.
I've tried doing a e.Container.FindControl("Members") in the FormCreated event, but it always comes up Nothing.
So my question is, how do I set the value of a dynamically added resource on an AdvancedForm when adding an appointment?