How to make RadDock in MultipleValuesResourceControl

3 posts, 1 answers
  1. Tan
    Tan avatar
    23 posts
    Member since:
    Jan 2012

    Posted 11 Jan 2012 Link to this post

    •  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. Answer
    Plamen
    Admin
    Plamen avatar
    3079 posts

    Posted 17 Jan 2012 Link to this post

    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
  3. Tan
    Tan avatar
    23 posts
    Member since:
    Jan 2012

    Posted 18 Jan 2012 Link to this post

    Hello Plamen Zdravkov

    Thk alot, it work

Back to Top