can i disable borders of a split panel

2 posts, 0 answers
  1. Ravi Prakash
    Ravi Prakash avatar
    21 posts
    Member since:
    Jan 2010

    Posted 18 Feb 2010 Link to this post

    Dear Friends,

    I am facing problem with border of split panel in a split container.
     my requirement is one split panel in the split container must not show any borders but i am unable to do that...
    i tried BorderStyle property but no use.

    so what is the technique should be  fallow to disable borders of a split panel in the split container?

  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 22 Feb 2010 Link to this post

    Hello Hari,

    A SplitPanel has the BorderStyle property just because it is a RadControl inheritor. However, this property is not relevant to the SplitPanel object. In order to hide the borders of a SplitPanel, please set the Visibility property of a SplitPanel's BorderPrimitive to Collapsed:
    ((BorderPrimitive)this.splitPanel1.SplitPanelElement.Children[1]).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

    I hope this helps. If you have additional questions, feel free to contact me.

    Sincerely yours,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top