$(document).ready(ResizeChart());
function
ResizeChart()
{
var
ajaxManager = $find(
"<%= RadAjaxManager1.ClientID %>"
);
var
arg1 = $(document).width();
var
arg2 = 305;
ajaxManager.ajaxRequest(arg1 +
","
+ arg2);
}
Protected
Sub
RadAjaxManager1_AjaxRequest(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.Web.UI.AjaxRequestEventArgs)
Handles
RadAjaxManager1.AjaxRequest
Dim
argument
As
String
= e.Argument
Dim
sArray
As
String
() = argument.Split(
","
.ToCharArray())
chartLabos.Width =
CInt
(sArray(0))
chartLabos.Height =
CInt
(sArray(1))
End
Sub
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;
}
}
}
}