I have a requirement to use different font color in the same text of label. (Example: The label text is "Name*" in which asterix should be marked RED.)
This is not possible using UltraLabel, so I am using UltraFormattedLinkLabel. But the problem with UltraFormattedLinkLabel is that it does not allow to add hotkey, which is possible through UltraLabel by adding ampersand as desired. (Example: "&Name*" for N to be the hotkey).
How do I achieve hotkey functionality as well as two font color in single label? Using two UltraLabels does not work, because the two label texts looks separated, with space between them.
Hello Sudesh,
Yes, you are correct; UltraFormattedLinkLabel does not allow adding of hotkey. However, why you need this key for a label? If what you need is to underline a letter in the label, you may use <u> tag in UltraFormattedLinkLabel. If this is not your case can you let me know why you need hotkey for a label?
Looking forward to your reply.
I need hotkey for the label to get focus on the textbox associated with label on pressing the hotkey.
Example: For label with text as Name*, I want to set 'N' as hotkey so that when I press Alt+n, the focus is set on the textbox next to the label.