This is a migrated thread and some comments may be shown as answers.

unable to hide redorder buttons

1 Answer 37 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
shawn mason
Top achievements
Rank 1
shawn mason asked on 15 Oct 2010, 03:57 PM
I have a listbox used for reordering.  IN the aspx page it is defined thus:

<

 

 

telerik:RadListBox ID="RadListBox1" runat="server" AllowReorder="True"

 

 

 

AppendDataBoundItems="True" DataSourceID="SqlDataSource1" DataTextField="Input"

 

 

 

DataValueField="TestTakerOrderID" EnableDragAndDrop="True" Font-Size="Medium"

 

 

 

Width="360px" >

 

 

 

<buttonsettings showreorder="False" />

 

 

 

</telerik:RadListBox>

 



From everything I can gather the "Showrerder="false" should hide the reorder buttons; thus allowing only drag and drop.  That is not the case.  The buttons always appear.  How can I not show them but still allow drag and drop reordering?

Shawn

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Oct 2010, 08:24 AM
Hello Shawn,


The code worked for me when I set the ShowReorder property to "false". I am using RadControls version 2010, 1, 519, 35.

Another way to hide the buttons is adding the following CSS on page.
CSS:
<style type="text/css">
    .rlbButton
    {
        display: none !important;
    }
</style>


-Shinu.
Tags
ListBox
Asked by
shawn mason
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or