Menu

#4 ajaxToolkit:ComboBox displays drop down list items away from the control

v1.0_(example)
open
nobody
1
2014-11-16
2014-11-16
Anonymous
No

I have the following code in my web page

    <!-- ==================  Country Selection Field ====================== -->
   <div class="RegFieldsCountry">
   <asp:Label ID="CountryLabel" runat="server" AssociatedControlID="Country" CssClass="RegCountryLabel" Text="Χώρα" />
   <ajaxToolkit:DropDownExtender ID="DropDownExtender1" runat="server" 
      EnableViewState="False" TargetControlID="Country" Enabled="False"/>
   <ajaxToolkit:ComboBox ID="Country" runat="server" CssClass="RegComboCountryEntry" TabIndex="8" Width="125" ValidationGroup="SetUserValGroup" ToolTip="Επιλογή χώρας" DropDownStyle="Simple" OnSelectedIndexChanged="Country_SelectedIndexChanged"  TargetControlID="Country"/>
   <asp:RequiredFieldValidator ID="RequiredRegComboValidator" runat="server" ControlToValidate="Country" ErrorMessage="Η επιλογή χώρας επιβάλλεται." ToolTip="Η επιλογή χώρας επιβάλλεται." ForeColor="red" ValidationGroup="SetUserValGroup" CssClass="RequiredValidator">*</asp:RequiredFieldValidator>
   </div>

What I get from that is a ComboBox in the exact place on page inside of a Fildset, and a Drop Down List far away in right - down of the page outside of the Fieldset.

What I need is to have the Drop Down List just below of the control.

Is there someone to assist me on this issue?

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.