RadComboBox in Android have no ertical scroll bar

6 posts, 0 answers
  1. Arthur Wu
    Arthur Wu avatar
    24 posts
    Member since:
    Apr 2009

    Posted 02 Jun 2011 Link to this post

    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

  2. Arthur Wu
    Arthur Wu avatar
    24 posts
    Member since:
    Apr 2009

    Posted 08 Jun 2011 Link to this post

    Someone?
  3. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    651 posts

    Posted 08 Jun 2011 Link to this post

    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.

  4. Arthur Wu
    Arthur Wu avatar
    24 posts
    Member since:
    Apr 2009

    Posted 10 Jun 2011 Link to this post

    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 ! ^_^
  5. Arthur Wu
    Arthur Wu avatar
    24 posts
    Member since:
    Apr 2009

    Posted 10 Jun 2011 Link to this post

    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 ! ^_^
  6. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    651 posts

    Posted 16 Jun 2011 Link to this post

    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.

Back to Top