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

How to make RadDock in MultipleValuesResourceControl

2 Answers 46 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Tan
Top achievements
Rank 1
Tan asked on 12 Jan 2012, 05:29 AM
  •  The problem: i have the Dock but i want the checkbox list can put inside the Dock


  •  But the multipleValuesResouceControl cannot put in the content of the dock for example:
<telerik:RadDockZone ID="RadDockZone1" runat="server" Height="300px" Width="300px">
<telerik:RadDock ID="RadDock1" runat="server" Width="300px">
<ContentTemplate>
     <scheduler:MultipleValuesResourceControl runat="server" ID="ResStudent" Type="Student" Label="User: " />
</ContentTemplate>
</telerik:RadDock>
</telerik:RadDockZone>

will getting this error


The source code refer from example here.



2 Answers, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 17 Jan 2012, 01:57 PM
Hello Louis,

 
It seems that by adding the RadDockZone and the RadDock you have to change the Binding Container. Here is the code that I added to the MultipleValueResourcesControl.cs file and worked at my side:

SchedulerFormContainer container = (SchedulerFormContainer)(((BindingContainer.Parent).BindingContainer).Parent).BindingContainer;

Hope this helps.

All the best,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Tan
Top achievements
Rank 1
answered on 18 Jan 2012, 07:07 AM
Hello Plamen Zdravkov

Thk alot, it work

Tags
Scheduler
Asked by
Tan
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Tan
Top achievements
Rank 1
Share this question
or