Last post Aug 27, 2006 07:48 PM by lena_jenk
Aug 27, 2006 07:48 PM|lena_jenk|LINK
I am developing a website application designed for smart devices (using .Net 1.1). I am having a problem with dropdown lists. When navigating to the website via a smart phone all the dropdown lists take a maximum of only 3/4 of the screen width. The data
that I need to display is quite long and the customers agreed to have a horizontal scroll bar on the page, however, I can't achieve it.
The HTML is:
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<asp:dropdownlist id="lst" Runat="server"></asp:dropdownlist>
The code behind is:
DataSet ds = GetDS();
lst.DataSource = ds.Tables["TableName"];
lst.DataTextField = "Text";
lst.DataValueField = "Value";
Is this the way the Device IE renders a page, or is there any way of controlling the width?
I have also tried using mobile:SelectionList control, but it does not make any difference. Whether in Portrait or Landscape it's always only 3/4 of the screen width.
Any suggestions will be hightly appreciated.