This is a migrated thread and some comments may be shown as answers.

AutoSize? Full HTML support?

7 Answers 197 Views
DesktopAlert
This is a migrated thread and some comments may be shown as answers.
Bernd Mueller
Top achievements
Rank 1
Bernd Mueller asked on 26 Aug 2010, 10:13 AM
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.

7 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 31 Aug 2010, 04:39 PM
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
0
Armen
Top achievements
Rank 1
answered on 01 Oct 2010, 08:06 AM
How can I change BackColor of the desktop alert to red, for example?
Thanks
0
Nikolay
Telerik team
answered on 06 Oct 2010, 03:27 PM
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
0
Qu
Top achievements
Rank 1
answered on 04 May 2012, 08:49 AM
Can it support  this " "? I've tried that it seemed not support well.Am I right?


0
Nikolay
Telerik team
answered on 04 May 2012, 12:20 PM
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 >>
0
Saif
Top achievements
Rank 2
answered on 02 Jul 2014, 05:49 PM
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>
0
George
Telerik team
answered on 07 Jul 2014, 01:32 PM
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.
 
Tags
DesktopAlert
Asked by
Bernd Mueller
Top achievements
Rank 1
Answers by
Peter
Telerik team
Armen
Top achievements
Rank 1
Nikolay
Telerik team
Qu
Top achievements
Rank 1
Saif
Top achievements
Rank 2
George
Telerik team
Share this question
or