

Hi
I have a page with a radmultiselect. The items are populated using a webservice with the response in json format. All works fine.
I'm trying to get the items in code behind, but the RadMultiSelect.Items are aways null.
RadMultiSelect rms = area.FindControl("id_of_radmultiselect") as RadMultiSelect;if (rms != null) { var selectedValues = rms.Value; foreach (string value in selectedValues) { MultiSelectItem selectedItem = rms.Items.FindChildByValue(value); string result = string.Format("Selected item with text: <strong>{0}</strong> and value: <strong>{1}</strong><br />", selectedItem.Text, selectedItem.Value); }}In my test I added two items and I get in the rms.Value the number 2.
But the rms.Items is always count = 0, and when I try to find chield by value the result are null.
Why the Value have two items and in the rms.Items is 0?
Thank you
Hi,
I need to set zoom level to 14,5 but when I use decimals, map location changes.
Figure 1 shows when zoom level is 14, then the place is correct
Figure 2 show when zoom level is set to 14,5 , then map is located in totally different place ???
Following map link is used to generate map:
https://#= subdomain #.tile.thunderforest.com/landscape/#= zoom #/#= x #/#= y #.png
- Auvo -

I have a combobox as filter in RadGrid. The combobox has "Alle"(all), "Nein"(no), "Ja"(yes) . The "Alle" was default. The page shows all 75 rows after loaded.
I want to have "Ja" as default and to show the 73 rows with "Ja". So I added OnLoad="cboFilterFormActive_Load" in the RadComboBox and a C# method cboFilterFormActive_Load(...).
The aspx code now is like:
<telerik:RadGrid ID="radGridForms" runat="server"
DataSourceID="SqlDataSource_Grid" AllowSorting="true" AllowPaging="true" PageSize="10" AllowFilteringByColumn="true"
OnDataBound="radGridForms_DataBound">
<MasterTableView AutoGenerateColumns="false" AllowMultiColumnSorting="true">
<CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false" />
<Columns>
<telerik:GridTemplateColumn DataField="FormKey" UniqueName="FormKey">
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="visible" HeaderText="aktiv" UniqueName="FormActive">
<FilterTemplate>
<telerik:RadComboBox ID="cboFilterFormActive" runat="server" RenderMode="Lightweight"
Skin="Bootstrap" Width="100%" ToolTip="Filter Formular aktiv"
DataSourceID="SqlDataSource_FilterFormActive" DataTextField="visible" DataValueField="visible"
AppendDataBoundItems="false"
SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("FormActive").CurrentFilterValue %>'
OnClientSelectedIndexChanged="visibleComboIndexChanged"
OnItemDataBound="cboFilterFormActive_ItemDataBound"
OnLoad="cboFilterFormActive_Load">
</telerik:RadComboBox>
<telerik:RadScriptBlock ID="RadScriptBlockFilterVisible" runat="server">
<script type="text/javascript">
function visibleComboIndexChanged(sender, args) {
var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
tableView.filter("FormActive", args.get_item().get_value(), "EqualTo");
}
</script>
</telerik:RadScriptBlock>
</FilterTemplate>
<ItemTemplate>
<asp:Label ID="lblFormVisible" runat="server" Text='<%# translateBool(Eval("visible")) %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
<PagerStyle Position="TopAndBottom" AlwaysVisible="true" />
</MasterTableView>
<SortingSettings SortedBackColor="#EDEDED" EnableSkinSortStyles="false"></SortingSettings>
<FilterMenu Skin="Bootstrap" EnableEmbeddedSkins="false" RenderMode="Lightweight"></FilterMenu>
</telerik:RadGrid>
a new mothod in aspx.cs:
protected void cboFilterFormActive_Load(object sender, EventArgs e)
{
var combo = (RadComboBox)sender;
RadComboBoxItem itm = combo.FindItemByText("Ja");
if (itm !=null)
itm.Selected = true;
}
The "Ja" is now default in the Combobox. But it doesn't filter. All the 75 values are shown after loading page. How can I make it filter "Ja" out?
Upgraded UI for ASP.NET AJAX controls and OnClientBlur neverfires. Here is the markup:
<telerik:RadComboBox ID="radComboHansenClerks" CheckBoxes="true" AutoPostBack="false" LabelCssClass="control-label" AllowCustomText="false" CloseDropDownOnBlur="true" OnClientBlur="IsCheckAllSelected" CheckedItemsTexts="DisplayAllInInput" ShowDropDownOnTextboxClick="true" runat="server" Filter="Contains" NoWrap="True" MaxHeight="400px" Width="100%" AccessibilityMode="true" EnableCheckAllItemsCheckBox="true" Localization-CheckAllString="Select All" OnItemChecked="radComboHansenClerks_ItemChecked"> </telerik:RadCombo
function IsCheckAllSelected(sender, eventArgs) { $('#<%= btnRadclerksFilter.ClientID %>').click(); }Box>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Detection.Detection.js" />Assembly 'Telerik.Web.UI, Version=2015.1.225.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4' contains a Web resource with name 'Telerik.Web.UI.Common.Detection.Detection.js', but does not contain an embedded resource with name 'Telerik.Web.UI.Common.Detection.Detection.js'.<script src="https://d2i2wahzwrm1n5.cloudfront.net/ajaxz/2015.1.225/Common/Core.js" type="text/javascript"></script><script src="https://d2i2wahzwrm1n5.cloudfront.net/ajaxz/2015.1.225/Common/jQueryExternal.js" type="text/javascript"></script><script src="https://d2i2wahzwrm1n5.cloudfront.net/ajaxz/2015.1.225/Common/jQueryPlugins.js" type="text/javascript"></script><script src="/wsAdmin/jQuery/jquery-1.11.2.min.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[(window.jQuery)||document.write('<script type="text/javascript" src="/wsAdmin/jQuery/jquery-1.11.2.min.js"><\/script>');//]]></script><script src="https://d2i2wahzwrm1n5.cloudfront.net/ajaxz/2015.1.225/Common/Widgets/Draggable.js" type="text/javascript"></script>
A few questions:
Thanks in advance for any pointers.
Best regards, Marja
My issue is the gauge control won't render in design mode:
Error Creating Control - GaugeuserCountFailed to create designer 'Telerik.Web.UI.RadRadialGauge, Telerik.Web.UI, Version=2020.2.617.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4'
I've got a reference in the project page to the .40 .dll version..
Project builds & runs fine, just cannot get this to work!..
This is VS.NET 2017 on Windows 10
I've tried deleting files in:
%AppData%\Local\Microsoft\VisualStudio\16.0_1695dc1b\ProjectAssemblies, Cleaning & REbuilding the solution..
Help!
Rich
Hi,
How do I uninstall all Telerik menus and references in Visual Studio? I can't find a way to do this on your menu.
Thanks,
Kevin
