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

RadComboBox in Android have no ertical scroll bar

5 Answers 193 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Arthur Wu
Top achievements
Rank 1
Arthur Wu asked on 02 Jun 2011, 06:50 AM
I have a problem, RadComboBox in Android Simulator click it(RadComboBox), it doesn't Vertical scroll bar, but microsoft's DropDownList do.
How do show Vertical scroll bar?
Below is mycode:
<asp:DropDownList ID="DropDownList1" runat="server">
                                                        </asp:DropDownList>
                                                        <telerik:RadComboBox ID="RadComboBox1" runat="server">
                                                        </telerik:RadComboBox>

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
             
 
            For i As Integer = 0 To 200
                Dim itm As New ListItem()
                itm.Value = i
                itm.Text = i
                DropDownList1.Items.Add(itm)
 
            Next
 
            For i As Integer = 0 To 200
                Dim rcbItem As New RadComboBoxItem()
                rcbItem.Value = i
                rcbItem.Text = i
                RadComboBox1.Items.Add(rcbItem)
                rcbItem.DataBind()
            Next
 
        End If
    End Sub

5 Answers, 1 is accepted

Sort by
0
Arthur Wu
Top achievements
Rank 1
answered on 08 Jun 2011, 09:26 AM
Someone?
0
Ivan Zhekov
Telerik team
answered on 08 Jun 2011, 10:27 AM
Hi Arthur Wu,

Scrolling, regardless of it's form, is handled by the operating system. On Windows and other Desktop OS's (apart from the upcoming Mac OS Lion) the scroll bars are visible. On mobile devices, those scrollbars would  waste precious screen real estate and are hidden, until the moment of scrolling.

In addition, the ASP DropDownList control renders a SELECT element which has internal (it corresponds on system level to a particular control) handling, where as the ComboBox control renders a scrollable area (a DIV element) which does not corresponds to any system control and has no optimized handling.

Regards,
Ivan Zhekov
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
Arthur Wu
Top achievements
Rank 1
answered on 10 Jun 2011, 08:57 AM
Hi Telerik Admin,

Look, I can only use the ASP's DropDownList control instead of RadComboBox on mobile devices...or you have any recommand ?

thank you ! ^_^
0
Arthur Wu
Top achievements
Rank 1
answered on 10 Jun 2011, 08:57 AM
Hi Telerik Admin,

Look, I can only use the ASP's DropDownList control instead of RadComboBox on mobile devices...or you have any recommand ?

thank you ! ^_^
0
Ivan Zhekov
Telerik team
answered on 16 Jun 2011, 02:30 PM
Hello Arthur,

If your case allows using of native controls, it's always better to use them. In your particular case, if your project allows a asp:dropdown, it's best to use it.

Best wishes,
Ivan Zhekov
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
ComboBox
Asked by
Arthur Wu
Top achievements
Rank 1
Answers by
Arthur Wu
Top achievements
Rank 1
Ivan Zhekov
Telerik team
Share this question
or