Wrox Programmer Forums
|
BOOK: ASP.NET AJAX Programmer's Reference : with ASP.NET 2.0 or ASP.NET 3.5 ISBN: 978-0-470-10998-4
This is the forum to discuss the Wrox book ASP.NET AJAX Programmer's Reference: with ASP.NET 2.0 or ASP.NET 3.5 by Dr. Shahram Khosravi ; ISBN: 978-0-470-10998-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET AJAX Programmer's Reference : with ASP.NET 2.0 or ASP.NET 3.5 ISBN: 978-0-470-10998-4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 26th, 2010, 11:25 AM
Registered User
 
Join Date: Jul 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ajax ComboBox not displaying item list correctly

I'm using ASP VB .net 2008 and am just now venturing into the world of Ajax. I've tried a few different controls and they are working great. But, the ComboBox is giving me problems.

When it is first rendered it looks fine - pretty much like a standard DropDownList. But, when I click the down arrow to expand the list, the list is not connected to the original box - it shows up at the bottom of the page, and depending upon where the page is scrolled will show up only partially or not at all.

Hope that makes sense - sorry I don't have a screen scraper so I can show the behavior.

I've done something wrong, just don't know what - - Any Ideas??


Thanks
Tom


Here is code --


/
HTML Code:
    <tr>
       <td class="cells1" valign="top">
             <asp:Label ID="lblRace" runat="server" CssClass="caption1" Width="41px" Height="6px">Race</asp:Label>
       </td>
     <td class="cells1" style="width: 19px">                           
       <asp:ComboBox ID="cmbRace" runat="server" AutoCompleteMode="SuggestAppend"  
                                BorderStyle="Solid" DropDownStyle="DropDown" AutoPostBack="true"  
                                 Visible="True">
                                <asp:ListItem Value="0">Yes</asp:ListItem>
                                <asp:ListItem Value="1">No</asp:ListItem>
                                <asp:ListItem Value="2">Maybe</asp:ListItem>
                                <asp:ListItem Value="3">I don not know</asp:ListItem>
     </asp:ComboBox>
 </td>
                        
  <td class="cells1" valign="bottom">
          <asp:TextBox ID="txtOtherRace" TabIndex="18" runat="server" CssClass="value1" Width="453px"
                                Height="22px" MaxLength="50" Visible="False"></asp:TextBox>
  </td>
 </tr>





Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I select an ITEM from a combobox? Ron Howerton VB.NET 2002/2003 Basics 18 October 2nd, 2015 09:18 PM
Views not displaying correctly deanf7 BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 3 March 16th, 2009 09:53 AM
Display data as per combobox item selected yogeshyl Excel VBA 0 July 28th, 2007 06:17 AM
Displaying null value in a typical combobox - C# momof2 C# 1 August 24th, 2006 12:47 AM
comboBox - tooltip for each Item filipczako C# 0 November 29th, 2005 06:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.