Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
19 views
I want to check on the server side if the user has selected an item from the drop-down list, or if he has entered custom text. With a RadComboBox, the SelectedIndex property is -1 for custom text, and 0, 1, 2, ... for a drop-down item. But the MultiLineComboBox does not have such a property. How else can I check on the server side if the user has entered custom text?
Vasko
Telerik team
 answered on 20 Feb 2024
1 answer
27 views

Steps:

1. Go to Telerik Web UI MultiColumnComboBox WebForms MultiColumnComboBox Overview Demo | Telerik UI for ASP.NET AJAX

2. Enter "ha" select some records

3. Click out of the dropdown to close it

4. Textbox keeps "ha" but the message below reads that You have selected Thomas Hardy whose ID is AROUT. They are a Sales Representative at Around the Horn however, nothing has been selected.

Is it expected ?
If it's a bug and having a long cycle to fixing bugs could you recommend any workaround?

Rumen
Telerik team
 updated answer on 29 Jan 2024
0 answers
68 views

Hi Team,
I tried following steps to use RadMultiSelect dropdown in my project but getting compile time error . 
1) I have registered Telerik.Web.UI assembly in aspx page
2) Added RadScriptManager and RadSkinManager on aspx page.
3) then added following code - 
<telerik:RadMultiSelect runat="server" DataValueField="text" Filter="Contains" EnforceMinLength="false" Placeholder="Select Receiptees"
    DataTextField="text" Width="500px" ID="requiredMultiSelect">
<Items>
<telerik:MultiSelectItem Text="Steven White"></telerik:MultiSelectItem>
<telerik:MultiSelectItem Text="Nancy King"></telerik:MultiSelectItem>
</Items>
</telerik:RadMultiSelect>   
4) added this line in aspx.vb file for default selection
requiredMultiSelect.Value = {"Anne King", "Andrew Fuller"}

And getting compile time error -
Type 'Global.Telerik.Web.UI.RadMultiSelect' is not defined.

Not able to find solution for this on telerik webpage also , Can anyone please help me with this?

  

0 answers
54 views

Is there any way to restrict the user from entering custom text into a databound multicolmncombobox. Forcing them to select an existing item. A dropdown list is not usable as it is bound to a table which has 5000 records. Some filtering based on a couple of fields is required.

Chuck
Top achievements
Rank 1
 asked on 18 Feb 2023
1 answer
92 views

I noticed in the RadMultiColumnComboBox that the cursor appears to be a text-insertion/editing cursor instead of an arrow. I'm using this to allow the user to select an item so the text cursor is unintuitive. Is there a way to set the style of the mouse cursor on this control?


   
<telerik:RadMultiColumnComboBox runat="server" ID="radMultiComboPhrases" DropDownWidth="200px" Height="400px" AutoPostBack="true" Placeholder="Select a phrase..." DataTextField="sBrief" DataValueField="sPhrase" RenderMode="Mobile">
     <ColumnsCollection>
        <telerik:MultiColumnComboBoxColumn Field="sBrief" Title="Brief Desc." Width="200px"></telerik:MultiColumnComboBoxColumn>
        <telerik:MultiColumnComboBoxColumn Field="sPhrase" Title="Phrase" Width="200px"></telerik:MultiColumnComboBoxColumn>
     </ColumnsCollection>
</telerik:RadMultiColumnComboBox>

Rumen
Telerik team
 answered on 04 Aug 2022
0 answers
73 views

Hi,

I have the following snippet in my ASP.NET 

<TELERIK:RADMULTICOLUMNCOMBOBOX ID="RadMultiColumnComboBoxSearch" runat="server" Filter="startsWith" FilterFields="DrawingName, Description"
	Height="800" AllowPaging="true" EnableServerFiltering="true" MinLength="3" PageSize="60" DataTextField="DrawingName" DataValueField="DrawingID">
	<COLUMNSCOLLECTION>
		<TELERIK:MULTICOLUMNCOMBOBOXCOLUMN Field="DrawingID" Title="ID" />
		<TELERIK:MULTICOLUMNCOMBOBOXCOLUMN Field="DrawingName" Title="Name" />
		<TELERIK:MULTICOLUMNCOMBOBOXCOLUMN Field="Description" Title="Description" />
	</COLUMNSCOLLECTION>
	<WEBSERVICESETTINGS ServiceType="XML" Select-DataType="JSON" Select-Url="Default.aspx/GetDrawingsSuggestion" Select-RequestType="Post" />
</TELERIK:RADMULTICOLUMNCOMBOBOX>

[WebMethod()]
public static string GetDrawingsSuggestion(string filter)
{
	string filterText = HttpUtility.UrlDecode(filter);

	using (HEN_INTRANET_ProductionEntities dc = new HEN_INTRANET_ProductionEntities())
	{
		var q = from d in dc.tbl_ENECR_Drawings
				where (d.DrawingFlag == 1 | d.DrawingFlag == 2) && d.DrawingTypeID == 1
				select new
				{
					DrawingID = d.DrawingID,
					DrawingName = d.DrawingName,
					Description = d.Description,
				};
		var drawingsList = q.ToList();

		return Newtonsoft.Json.JsonConvert.SerializeObject(drawingsList);
	}
}

Can I use a page method service to get the data I need from the server?
Looking in Fiddler the call to the GetDrawingsSuggestion method occurs, but it returns the page contents. It does not execute the method. It just returns the rendered page.

Bart
Top achievements
Rank 1
 asked on 27 Oct 2021
1 answer
137 views

Hi I am trying to virtualize my radmulticolumn combobox however after virtualization I am unable to select any of the items in the combobox it doesnt select the item whenever i click to select it just closes the dropdown.

The client side Onselect event triggers but doesnt hold  a selected Item-The server side on itemSelctedindexchanged event doesnt fire at all.

it is bound to a Datatable..

here is my code

Thanks alot

       <telerik:RadMultiColumnComboBox ID="accDropDown"
                        runat="server" CssClass="multiColumn"
                        AutoPostBack="true" DataTextField="AccountName"
                        DataValueField="AccountId" AllowPaging="true"
                        Filter="Contains" Width="420px" OnSelectedIndexChanged="accDropDown_SelectedIndexChanged"
                        Font-Size="14px" CausesValidation="false" ForeColor="#666666" FilterFields="AccountName,AccountNumber"
                        Delay="0" Placeholder="Select An Account.." EnableServerFiltering="true"
                        EnableServerPaging="true" Enable="true" ClientEvents-OnSelect="ItemSelected"  EnableViewState="true">
                        <ColumnsCollection>
                            <telerik:MultiColumnComboBoxColumn Field="AccountName" Title=" Account Name" Width="300px" />
                            <telerik:MultiColumnComboBoxColumn Field="AccountNumber" Title="Account Number" />
                        </ColumnsCollection>
                        <VirtualSettings ItemHeight="25" ValueMapper="valueMapper" />


                    </telerik:RadMultiColumnComboBox>


<script>
     function valueMapper(options) {

          
            $telerik.$.ajax({
                url: "https://demos.telerik.com/kendo-ui/service/Orders/ValueMapper",
                type: "GET",
                dataType: "jsonp",
                data: convertValues(options.value),
                success: function (data) {
                    options.success(data);
                }
                  
            })

        }

        function convertValues(value) {
            var data = {};
            value = $telerik.$.isArray(value) ? value : [value];

            for (var idx = 0; idx < value.length; idx++) {
                data["values[" + idx + "]"] = value[idx];
            }

            return data;
        }</script>

Vessy
Telerik team
 answered on 24 Aug 2021
1 answer
202 views

Is there any option to enable or show the horizontal scroll bars in Multicolumncombobox on VB.Net 2012 development environment?

Thanks in advance

Sachin

 

Vessy
Telerik team
 answered on 08 Jul 2021
1 answer
52 views
Hello, I am having problems running RadClientDataSource (data is loaded into RadMultiColumnComboBox) and KendoGrid on the same page. I get strange Ajax and Kendo errors in console about stuff being undefined. Are there any known incompatibilities between some Telerik UI controls and Kendo UI widgets? Are there controls that prefer external jQuery over internal one bundled in Telerik UI?
Peter Milchev
Telerik team
 updated answer on 07 May 2021
1 answer
53 views

On the grouping demo page, I'm wondering if there's a bug.

When looking at the contents of the grouped combobox list, the grouping label of Argentina is shown as a column header instead of the black text to the right side.

Peter Milchev
Telerik team
 answered on 04 May 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?