Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
5 views

Hi,

 

Is there some explanation how the Listbox is determining Order fields when an item is transferred into the listbox or when the the listbox is re-ordered. I tried to get my head around the logic of that but to no avail. We have a database field for the DataSortField installed.

 

Thanks,

Marc

Fit2Page
Top achievements
Rank 3
Bronze
Bronze
Iron
 asked on 05 Nov 2026
1 answer
27 views

Hi,

 

I have a Listbox with sqldatasource

    <telerik:RadListBox RenderMode="Lightweight" runat="server" ID="RadListBox2" OnInserted="RadListBox2_Inserted" DataSourceID="sds_items" OnItemDataBound="RadListBox2_ItemDataBound" DataTextField="NLdescription" DataValueField="Supplier" DataKeyField="id" Width="100%" AllowReorder="true"  
                     AllowTransferDuplicates="true" Skin="Default">
                    <itemtemplate>
                        <div class="container border-bottom py-2">
                            <div class="font-weight-bold">Type: <%# DataBinder.Eval(Container, "Value")%></div>
                        <div class="font-weight-bold"><asp:TextBox ID="tb" Text='<%# DataBinder.Eval(Container, "Text")%>' runat="server"></asp:TextBox></div>

                                <label>Number:</label>
                                <span><%# DataBinder.Eval(Container, "Attributes['NLvar1']") %></span>

                                <label>Text:</label>

                           </div>
                    </itemtemplate>
                </telerik:RadListBox>

 

And in Code Behind:

 

    Protected Sub RadListBox2_ItemDataBound(sender As Object, e As RadListBoxItemEventArgs)

        Dim drv As DataRowView = CType(e.Item.DataItem, DataRowView)
        e.Item.Attributes.Add("NLvar1", drv("NLvar1").ToString())

    End Sub       

 

The Listbox is not showing any data for the NLvar1 attribute...what am I missing?

                                                                        
Rumen
Telerik team
 answered on 14 Oct 2026
1 answer
200 views
I have Radlistbox in DetailTables tag of radgrid. I want to used OnSelectedIndexChanged event of radlist box but it wasn't trigged code behind event.
Vasko
Telerik team
 answered on 23 Aug 2024
0 answers
269 views

I am creating a mobile website using radcomboboxes inside of update controls that are set to autopostback = true.  All of the controls work except on the page's initial load the UI elements are enlarged and look more like buttons.  They are still able to be selected and after the controls postback the elements still do not go back to a normal size. Only after a postback from another control do the UI elements shrink down to a normal size.  

I have tested the radcombobox with checkboxes enabled outside of the update panel and this behavior does not change.  I have a master page that contains jQuery files located in the header, and when I remove one of the js files, the problem disappears with the UI elements disappearing.  Can anyone help me figure out what is preventing the UI elements from rendering properly?

On Load:

   

After postback:

 

 

0 answers
378 views

I would like to make long text wrap when using checkboxes. As per the attached image, I would prefer the left margin of the text to align with the green line.

I have attempted to use the sample shown in this article (https://www.telerik.com/forums/long-text-in-radlistbox)  but nothing worked.

Could you please advise the best way to make this change?

Adam
Top achievements
Rank 1
Iron
 asked on 04 Sep 2023
1 answer
263 views

In RadDropDownTree there is option EnableFiltering.

Is there some listbox (checkbox enabled) that has same capabilities?

Or maybe a way to keep RadDropDownTree always opened?

Attila Antal
Telerik team
 answered on 14 Jul 2023
1 answer
153 views
Is it possible to bold CheckAll text in listbox?
Rumen
Telerik team
 answered on 22 Mar 2023
1 answer
187 views

Trying to hide the arrow on drag and drop for RadListBox.  Found a post on setting the z-index for the css style .rlbDragClue and I've tried everything, display:none, visibility:hidden, background:none, all with the !important designator, nothing works.  Always get the arrow.

.rlbDragClue {
background: none !important;
visibility:hidden !important;
z-index: -5000 !important;
}
Rumen
Telerik team
 updated answer on 03 Feb 2023
1 answer
282 views
Good day,

I am new to development with Telerik. You have a client where you have a website that has been developed with Telerik. The library used is Telerik.Web.UI version 2015.1.225.35

Explained this, I have 2 queries:
1. Telerik.Web.UI library version 2015.1.225.35 allows to use radlistbox to implement everything associated with listbox ? From what I have reviewed the documentation I understand that yes. If the answer is yes, then you can answer question 2.
2. Can you please give me examples of how to create a listbox using radlistbox since in my case what I want to do is create 2 listboxes and pass the elements from one listbox to another through a button.

I thank you in advance for the help provided.
Rumen
Telerik team
 answered on 15 Nov 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?