Issue in RadPanel with border

4 posts, 0 answers
  1. Piyush Bhatt
    Piyush Bhatt avatar
    166 posts
    Member since:
    Nov 2007

    Posted 10 Oct 2014 Link to this post

    Hi Team,

    We are creating theme for our windows application so far we got most of 
    controls to work as our requirement but now we are facing some issue for
    every dropdown.

    We are facing issue with very light transparent border on top and left side of panel. even if we set transprent border, opacity 0 , width 0, shouldpaint as false
    but still we face this issue.

    please check attached image with this post.
    check inside black box it has very light and transprent border on top and left side of panel.


    Thank You,

    Piyush                 
  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3822 posts

    Posted 15 Oct 2014 Link to this post

    Hello Piyush,

    Thank you for writing.

    According to the provided screenshots it seems that the PanelElement.PanelBorder.BoxStyle property is set to BorderBoxStyle.FourBorders and the LeftShadowColor and TopShadowColor are different than transparent. It is necessary to either set the PanelElement.PanelBorder.BoxStyle property to BorderBoxStyle.SingleBorder and set the PanelElement.PanelBorder.Width property to 0 in order to hide the border, or to specify the LeftShadowColor and TopShadowColor to transparent.

    I hope this information helps. Should you have further questions, I would be glad to help.

    Regards,
    Desislava
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. JeffSM
    JeffSM avatar
    45 posts
    Member since:
    May 2014

    Posted 08 Jun in reply to Dess | Tech Support Engineer, Sr. Link to this post

    My tip:

    PanelElement.PanelBorder.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

     

    #jefferson2020

  4. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3822 posts

    Posted 10 Jun Link to this post

    Hi, Jeff,

    Thank you for sharing your tip with the community.

    Indeed, hiding the entire border primitive is also a suitable approach for this case.

    It can be done either programmatically at run time or via the theme in Visual Style Builder.

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top