1. Nithya
    Nithya avatar
    2 posts
    Member since:
    Sep 2012

    Posted 05 Sep 2012 Link to this post

    I am working in winforms telerik controls. I have created custom shape for radbutton in my form but, whenever am running the application, the custom shape is not coming. Only default shape is coming. how to work out this.

    Note: I edited the button shape in smart tag -> edit UI elements ->radButton elements -> shape property ->new custom shape.

  2. Stefan
    Stefan avatar
    2911 posts

    Posted 06 Sep 2012 Link to this post

    Hello Nithya,

    Thank you for writing.

    Currently, there is an issue which prevents the shape to be applied to the border of the button. Here you can add your vote for this issue and also subscribe for its status updates: http://www.telerik.com/support/pits.aspx#/public/winforms/12581.

    For the time being, you can hide the button border and apply the desired shape to the button:
    RoundRectShape shape = new RoundRectShape(15);
    radButton1.ButtonElement.Shape = shape;
    radButton1.ButtonElement.ShowBorder = false;

    I hope this helps.
    All the best,
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top