Adding controls to the content

2 posts, 0 answers
  1. Robert
    Robert avatar
    23 posts
    Member since:
    Feb 2009

    Posted 19 Jun 2012 Link to this post

    Is there a way to do more content customization than simple HTML?

    I'd like to be able to add controls and other types of complex content to the content area.
  2. Ivan Petrov
    Ivan Petrov avatar
    718 posts

    Posted 22 Jun 2012 Link to this post

    Hi Robert,

    Thank you for writing.

    RadDesktopAlert is built by the same elements as all other controls. Therefore, you can add other elements to it as you want. Here is an example of how to add a button element:
    RadButtonElement element = new RadButtonElement();
    element.Text = "Button";
    element.MaxSize = new Size(20, 20);

    I hope this will be useful. Should you have further questions, I would be glad to help.

    Kind regards,
    Ivan Petrov
    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