Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8025581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:12:46+00:00 2026-06-04T23:12:46+00:00

I have the following drop down list: <asp:DropDownList runat=server ID=ddlShipping CssClass=shippingMenu AutoPostBack=true> <asp:ListItem Text=3-5

  • 0

I have the following drop down list:

<asp:DropDownList runat="server" ID="ddlShipping" CssClass="shippingMenu" AutoPostBack="true">
    <asp:ListItem Text="3-5 working days (£12.50)" Value="" />
    <asp:ListItem Text="3-5 working days - Pre-Midday (£25)" Value="" />
    <asp:ListItem Text="3-5 working days - Pre-10.30am (£35)" Value="" />
    <asp:ListItem Text="3-5 working days - Pre-9am (£45)" Value="" />
</asp:DropDownList>

In a blank aspx page. When I run the page, and select an item, it causes a postback, and then always returns the the first value in the list.

Does anyone have any idea whats causing this. It is not databound in any way, in fact here’s the code-behind:

public partial class Default4 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
}

The reason that it’s in a blank page was just to isolate the problem from any other code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T23:12:48+00:00Added an answer on June 4, 2026 at 11:12 pm

    All the items have the same (empty) value, so ASP.NET can’t determine which one you mean.

    Give them distinct values.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following markup: <asp:DropDownList ID=dd1 AutoPostBack=true runat=server> <asp:ListItem Value=1>1</asp:ListItem> <asp:ListItem Value=2>2</asp:ListItem> </asp:DropDownList>
I have the following mark-up: <asp:DropDownList ID=ddlTownships DataTextField=Name AutoPostBack=True AppendDataBoundItems=True DataValueField=Id runat=server OnSelectedIndexChanged=ddlTownships_SelectedIndexChanged> <asp:ListItem
I have a follow dropdown list in my aspx page: <asp:DropDownList ID=OrderPeriodStatus runat=server AutoPostBack=true
I have the following DropDownList defined: <asp:DropDownList ID=ddlStuff CssClass=myCssClass OnSelectedIndexChanged=PopulateAnotherDropdown runat=server></asp:DropDownList> However, my PopulateAnotherDropdown
I have the following date dropdownlist options: <asp:DropDownList id=eventsDate runat=server> <asp:ListItem Value=04/31/2012>Apr 31, 2012</asp:ListItem>
I have the following datagrid: <asp:DataGrid runat=server ID=gastosReembolsables ShowFooter=True AutoGenerateColumns=False> <AlternatingItemStyle CssClass=DATAitem2></AlternatingItemStyle> <ItemStyle CssClass=DATAitem1></ItemStyle>
I have a dropdownlist with following options: <asp:DropDownList ID=ddlTaxStatus runat=server OnPreRender=ddlContainerStatus_PreRender> <asp:ListItem Text=--Select-- Value=-1></asp:ListItem>
I have following dropdwonlists in a UserControl; <span class=src-engine-row-title-span>ADT : </span> <asp:DropDownList runat=server ID=ddlAdultTrf></asp:DropDownList>
I have following codes in asp.net: <asp:dropdownlist id=ddlApp runat=server /> <asp:button id=btnSmt runat=server Text=Submit
i have the following gridview <asp:GridView ID=GridView3 runat=server AllowPaging=True AllowSorting=True AutoGenerateColumns=False DataKeyNames=ID DataSourceID=CommentsDataSource> <Columns>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.