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

Listboxes With Slide button

6 Answers 79 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Ricardo
Top achievements
Rank 1
Ricardo asked on 03 Aug 2011, 06:21 PM
Hello!!

I need some help while creating 3 independents RadListBox side by side...After explore some of your documentation i can't customize them to be put a slide button like the demo : http://demos.telerik.com/aspnet-ajax/listbox/examples/default/defaultcs.aspx

Can you show how to include that slide control on the listbox??

If you please show me how to add title lable for each gridlistBox please

6 Answers, 1 is accepted

Sort by
0
Ricardo
Top achievements
Rank 1
answered on 03 Aug 2011, 07:03 PM

i'm using the following code:

<telerik:RadListBox ID="RadListBox1" runat="server" AllowReorder="True" 
         Skin="Black" SelectionMode="Multiple" Sort="Ascending" Height = "180px"
        EnableDragAndDrop="True">
<ButtonSettings TransferButtons="All"></ButtonSettings>
        <Items>
            <telerik:RadListBoxItem runat="server" Text="RadListBoxItem1"  
                />
            <telerik:RadListBoxItem runat="server" Text="RadListBoxItem2" />
            <telerik:RadListBoxItem runat="server" Text="RadListBoxItem3" />
            <telerik:RadListBoxItem runat="server" Text="RadListBoxItem4" />
            <telerik:RadListBoxItem runat="server" Text="RadListBoxItem5" />
            <telerik:RadListBoxItem runat="server" Text="RadListBoxItem6" />
            <telerik:RadListBoxItem runat="server" SkinID="Black" Text="RadListBoxItem7" />
        </Items>
    </telerik:RadListBox>
    <telerik:RadListBox ID="RadListBox2" runat="server" SelectionMode="Multiple" EnableDragAndDrop="True"
   Height="180px" AllowReorder="True" Skin="Black" >
<ButtonSettings TransferButtons="All"></ButtonSettings>
        <Items>
            <telerik:RadListBoxItem runat="server" Text="RadListBoxItem1" />
            <telerik:RadListBoxItem runat="server" Text="RadListBoxItem2" />
            <telerik:RadListBoxItem runat="server" Text="RadListBoxItem3" />
            <telerik:RadListBoxItem runat="server" Text="RadListBoxItem4" />
        </Items>
   </telerik:RadListBox>

However the Listboxes have already the scrool button on the right side, but the theme is like windows98...How can i customize it to seems like the demo version??
0
Dimitar Terziev
Telerik team
answered on 05 Aug 2011, 12:15 PM
Hi Ricardo,

By default scroll bars will appear when the number of items is exceeding the height specified for the RadListBox. In your case you have a few items and a height of 180 px which is enough to show them all and thus no scroll bar is shown.

Greetings,
Dimitar Terziev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Ricardo
Top achievements
Rank 1
answered on 05 Aug 2011, 12:19 PM
Thanks for the help Dimitar, but now i d'ont understand why the scroll look like windows 98...the style are different from the actually scrolls....i attached the print for you...take a look please
0
Dimitar Terziev
Telerik team
answered on 10 Aug 2011, 08:33 AM
Hi Ricardo,

Could you clarify which is the exact version of the controls that you are using?

Kind regards,
Dimitar Terziev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Ricardo
Top achievements
Rank 1
answered on 10 Aug 2011, 09:07 AM
The last version... Q2 2011
0
Accepted
Peter Filipov
Telerik team
answered on 15 Aug 2011, 08:33 AM
Hi Ricardo,

With version Q2 2011 everything should appear like in our demos. Do you apply some custom css on that page which may affect the appearance? Could you please isolate the issue into working sample project and send it back for a local investigation?

Regards,
Peter Filipov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
ListBox
Asked by
Ricardo
Top achievements
Rank 1
Answers by
Ricardo
Top achievements
Rank 1
Dimitar Terziev
Telerik team
Peter Filipov
Telerik team
Share this question
or