AutoSize? Full HTML support?

8 posts, 0 answers
  1. Bernd Mueller
    Bernd Mueller avatar
    38 posts
    Member since:
    May 2010

    Posted 26 Aug 2010 Link to this post

    DesktopAlert looks nice. Is there a way to automatically size the control to display the entire text? At the moment we have to manually set the FixedSize to get the text displayed fully.

    Not every HTML tag is displayable. Not even everything i set in the markup editor is displayed (Hyperlinks or empty lines). Any plans to extend it to full HTML support?

    Thank you for this control and please extend it.
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 31 Aug 2010 Link to this post

    Hi Bernd Mueller,

    Thanks for writing.

    RadDesktopAllert does not support auto-size mode. You should always set the size of the control.

    Our Markup Editor uses the rendering engine of Internet Explorer (Trident). On the other hand, our HTML-like text formatting is a custom rendering engine developed for RadControls for WinForms and providing a text styling mechanism, which can be applied to all Telerik controls and their elements. It enhances one of the smallest element in the Telerik Presentation Framework -  the TextPrimitive. The rich text formatting mechanism uses a few plain HTML tags to display formatted text such as font style, font color, font size, etc. Because of this, you may expect some inconsistencies between our Markup editor and the TPF rendering engine.

    Do not hesitate to contact us if you have other questions.

    Best wishes,
    Peter
    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Armen
    Armen avatar
    13 posts
    Member since:
    Oct 2008

    Posted 01 Oct 2010 Link to this post

    How can I change BackColor of the desktop alert to red, for example?
    Thanks
  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 06 Oct 2010 Link to this post

    Hello Armen,

    You can change the color of RadDesktopAlert by modifying its theme in Visual Style Builder. Please refer to the following support resources for additional information:
    VSB Overview
    Loading Predefined Themes

    I hope this helps.

    Regards,
    Nikolay
    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
  6. Qu
    Qu avatar
    1 posts
    Member since:
    May 2012

    Posted 04 May 2012 Link to this post

    Can it support  this " "? I've tried that it seemed not support well.Am I right?


  7. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 04 May 2012 Link to this post

    Hello Qu,

    The HTML-like formatting does not support " ". The list of supported tags and expressions can be found here.

    Let us know if you have additional questions.

    Greetings,
    Nikolay
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  8. Saif
    Saif  avatar
    30 posts
    Member since:
    Apr 2014

    Posted 02 Jul 2014 Link to this post

    I applied some style on ContextText but its not working.
    <html>
    <style type='text/css'>
      .menu
      {
        font-family: Segoe UI;
      }
      .menu a, .menu a:active, .menu a:visited
      {
        text-decoration: none;
        color: #ff8a00;
        font-weight: bold;
      }
      .menu a:hover
      {
        color: #333;
        text-decoration: underline;
      }
    </style>
    <p class='menu'>
      <a href='#'>Lorem ipsum</a> dolor sit amet, consectetur adipisicing elit, sed do
      eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
    </html>
  9. George
    Admin
    George avatar
    500 posts

    Posted 07 Jul 2014 Link to this post

    Hello Saif,

    Thank you for writing.

    As you can see in the article which my colleague Nikolay provided you with, the style tag is not supported. This means that you cannot apply styles using CSS selectors. You should use inline styles as shown in the article at hand.

    I hope this helps.

    Regards,
    George
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top
UI for WinForms is Visual Studio 2017 Ready