
Team
I am using radcombobox in my application.
I am using it to implement search functionality. whenever we type something in combobox the resulting items is getting displayed in the combo list properly
& when result is not there it should display “no result found” & should give a link to a page which is used to add the items in that combobox.This I have added in the list of items .It is working.(attached is the screenshot for this requirement img.)
For this I am using OnItemsRequested event.
I have a requirement to show text of items in bold which I am typing in combobox. (attached is the screenshot for this requirement1 img.)
This feature is working when I set Filter ="Contains" but for displaying “no result found” & should give a link to a page which is used to add the items in that combobox requirement I can’t set this property. If I set this property it won’t show “no result found” & link .
I have tried to set it by <b> tab but it shows <b> tag as it is in item text.
Is there another way to show the combobox typed text part of items in bold?
<?xml version="1.0" encoding="utf-8" ?> <root> <tools name="Clipboard"> <tool name="PasteStrip" size="large"/> <tool name="Cut" shortcut="CTRL+X" /> <tool name="Copy" shortcut="CTRL+C"/> </tools> <tools name="Basic Text"> <tool name="FontName" shortcut="CTRL+SHIFT+F"/> <tool name="RealFontSize" shortcut="CTRL+SHIFT+P" width="80px"/> <tool name="ConvertToLower" strip="FontDropDowns" /> <tool name="ConvertToUpper" strip="FontDropDowns" /> <tool name="Bold" strip="FontBasicTools" shortcut="CTRL+B"/> <tool name="Italic" strip="FontBasicTools" shortcut="CTRL+I"/> <tool name="Underline" strip="FontBasicTools" shortcut="CTRL+U"/> <tool name="ForeColor" strip="FontBasicTools"/> <tool name="BackColor" strip="FontBasicTools"/> <tool name="Indent" strip="Indention"/> <tool name="Outdent" strip="Indention"/> <tool name="JustifyLeft" strip="Align"/> <tool name="JustifyCenter" strip="Align"/> <tool name="JustifyRight" strip="Align"/> <tool name="InsertParagraph" shortcut="CTRL+M" strip="other"/> <tool name="ToggleTableBorder" strip="other"/> </tools> <tools name="Include"> <tool name="LinkManager" shortcut="CTRL+K" strip="EditingTools3"/> <tool name="Unlink" shortcut="CTRL+SHIFT+K" strip="EditingTools3"/> <tool name="InsertUnorderedList" strip="Lists"/> <tool name="InsertOrderedList" strip="Lists"/> <tool name="InsertDate" /> <tool name="InsertTime" /> <tool name="InsertHorizontalRule" /> <tool name="InsertTable" /> <tool name="InsertSymbol" /> </tools> <tools name="Proofing"> <tool name="AjaxSpellCheck" size="large" showtext="false"/> </tools> <tools name="Help"> <tool name="Help" showtext="false" size="large"/> </tools> </root> foreach (EditorToolGroup toolGroup in Editor.Tools) { if (new List<string> { "Clipboard", "Basic Text", "Include" }.Contains(toolGroup.Tag)) { foreach (EditorToolBase tool in toolGroup.Tools) { if (tool is EditorTool) { (tool as EditorTool).Enabled = isHtmlMail; } } } }
<telerik:RadEditor ID="HTMLEditor" EditModes="Design,Html" Height="480px" Style="min-height: 480px; min-width: 690px" runat="server" Skin="Office2007" EnableResize="true" ExternalDialogsPath="~/EditorDialogs" ContentFilters="MakeUrlsAbsolute,ConvertToXhtml,IECleanAnchors,ConvertCharactersToEntities,FixEnclosingP, FixUlBoldItalic,IndentHTMLContent,MozEmStrong,RemoveScripts"> <contextmenus> <telerik:EditorContextMenu> <telerik:EditorTool Name="Cut" /> <telerik:EditorTool Name="Copy" /> <telerik:EditorTool Name="Paste" /> <telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" /> <telerik:EditorTool Name="PastePlainText" Text="Paste as Plain Text" /> <telerik:EditorTool Name="PasteHtml" Text="Paste HTML" /> <telerik:EditorTool Name="SelectAll" /> <telerik:EditorTool Name="CampaignerInsertImage" Text="Insert Image..." /> <telerik:EditorTool Name="LinkManager" Text="Edit Link..." ShowIcon="true" /> </telerik:EditorContextMenu> <telerik:EditorContextMenu TagName="TD"> <telerik:EditorTool Name="InsertRowAbove" /> <telerik:EditorTool Name="InsertRowBelow" /> <telerik:EditorTool Name="DeleteRow" /> <telerik:EditorTool Name="InsertColumnLeft" /> <telerik:EditorTool Name="InsertColumnRight" /> <telerik:EditorTool Name="DeleteColumn" /> <telerik:EditorTool Name="MergeColumns" /> <telerik:EditorTool Name="MergeRows" /> <telerik:EditorTool Name="SplitCell" /> <telerik:EditorTool Name="SplitCellHorizontal" /> <telerik:EditorTool Name="DeleteCell" /> <telerik:EditorTool Name="SetCellProperties" /> <telerik:EditorTool Name="SetTableProperties" /> </telerik:EditorContextMenu> <telerik:EditorContextMenu TagName="A" Enabled="true"> <telerik:EditorTool Name="LinkManager" Text="Edit Link..." /> <telerik:EditorTool Name="Unlink" /> </telerik:EditorContextMenu> <telerik:EditorContextMenu TagName="IMG" Enabled="true"> <telerik:EditorTool Name="Cut" /> <telerik:EditorTool Name="Copy" /> <telerik:EditorTool Name="CampaignerInsertImage" Text="Replace Image..." /> <telerik:EditorTool Name="CampaignerEditImage" Text="Edit Image..." /> <telerik:EditorTool Name="SetImageProperties" /> </telerik:EditorContextMenu> </contextmenus> <modules> <telerik:EditorModule Name="RadEditorStatistics"/> <telerik:EditorModule Name="RadEditorDomInspector"/> <telerik:EditorModule Name="RadEditorNodeInspector" Enabled="true" /> </modules> <tools> <telerik:EditorToolGroup> <telerik:EditorTool Name="SaveDesign" Text="Save " ShowText="true" /> <telerik:EditorTool Name="SaveAs" Text="Save As My Template" ShowText="false" ShowIcon="true" /> <telerik:EditorTool Name="Print" /> <telerik:EditorTool Name="AjaxSpellCheck" ShowIcon="true" Text="Spellchecker" /> <telerik:EditorTool Name="SelectAll" /> <telerik:EditorTool Name="FindAndReplace" ShowIcon="true" /> <telerik:EditorSeparator Visible="true" /> <telerik:EditorTool Name="Undo" ShowIcon="true" /> <telerik:EditorTool Name="Redo" ShowIcon="true" /> <telerik:EditorSeparator Visible="true" /> <telerik:EditorTool Name="Cut" /> <telerik:EditorTool Name="Copy" /> <telerik:EditorToolStrip Name="CampaignerPasteToolStrip" PopupHeight="150"> <telerik:EditorTool Name="Paste" Text="Paste" /> <telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" /> <telerik:EditorTool Name="PastePlainText" Text="Paste as Plain Text" /> <telerik:EditorTool Name="PasteHtml" Text="Paste HTML" /> </telerik:EditorToolStrip> <telerik:EditorSeparator Visible="true" /> <telerik:EditorTool Name="CampaignerInsertImage" Text="Insert Image" /> <telerik:EditorTool Name="CampaignerEditImage" Text="Edit Image..." Enabled="false" /> <telerik:EditorTool Name="LinkManager" ShowIcon="true" Text="Insert Link" /> <telerik:EditorTool Name="Unlink" ShowIcon="true" /> <telerik:EditorTool Name="InsertHorizontalRule" ShowIcon="true" /> <telerik:EditorTool Name="InsertParagraph" /> <telerik:EditorTool Name="InsertSymbol" /> <telerik:EditorTool Name="InsertTable" /> <telerik:EditorSeparator Visible="true" /> <telerik:EditorTool Name="ToggleScreenMode" Text="Full Screen" /> <telerik:EditorTool Name="ModuleManager" Text="Show" ShowText="true" /> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="FormatBlock" Text="Format Block" ShowIcon="true" /> <telerik:EditorTool Name="FontName" Text="Font" /> <telerik:EditorTool Name="RealFontSize" Text="Size" /> <telerik:EditorTool Name="Bold" /> <telerik:EditorTool Name="Italic" Text="Italic" /> <telerik:EditorTool Name="Underline" Text="Underline" ShowIcon="true" /> <telerik:EditorTool Name="ForeColor" ShowIcon="true" /> <telerik:EditorTool Name="BackColor" ShowIcon="true" /> <telerik:EditorSeparator Visible="true" /> <telerik:EditorTool Name="JustifyLeft" Text="Left" /> <telerik:EditorTool Name="JustifyCenter" Text="Center" /> <telerik:EditorTool Name="JustifyRight" Text="Right" /> <telerik:EditorTool Name="JustifyFull" Text="Both" /> <telerik:EditorTool Name="JustifyNone" Text="None" /> <telerik:EditorSeparator Visible="true" /> <telerik:EditorTool Name="InsertOrderedList" /> <telerik:EditorTool Name="InsertUnorderedList" /> <telerik:EditorTool Name="Indent" /> <telerik:EditorTool Name="Outdent" /> <telerik:EditorToolStrip Name="CampaignerClearToolstrip"> <telerik:EditorTool Name="ClearHTML" Text="Clear All" /> <telerik:EditorTool Name="StripAll" Text="Clear All Formatting" /> <telerik:EditorTool Name="StripCss" Text="Clear Css Formatting" /> <telerik:EditorTool Name="StripSpan" Text="Clear Span Elements" /> <telerik:EditorTool Name="StripWord" Text="Clear Word Formatting" /> </telerik:EditorToolStrip> </telerik:EditorToolGroup> </tools> <content></content> </telerik:RadEditor>