Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo Box Not Updating

Status
Not open for further replies.

majors479

Technical User
Jul 5, 2008
16
US
Good morning,

I've developed several combo boxes on my web pages that are not updating when I submit the page for updating. One such combo box possesses the following code.
Code:
Company:            
                        <asp:DropDownList ID="DDLIssuer1" runat="server"  AutoPostBack="True" AppendDataBoundItems="true" 
                          DataSourceID="Issuer1DS" DataTextField="CompanySort" 
                            DataValueField="IssuerCode" 
                            SelectedValue='<%#(DataBinder.Eval(Container.DataItem,"IssuerCode")) %>' 
                            width="350" >
                            <asp:ListItem Text="" Value=""></asp:ListItem>
                        </asp:DropDownList>
                        &nbsp;
                        <asp:LinqDataSource ID="Issuer1DS" runat="server" 
                            ContextTypeName="IssuerDropdownDataContext" TableName="vwIssuerDropdowns" 
                            EnableDelete="True" EnableInsert="True" EnableUpdate="True">
                        </asp:LinqDataSource>
                        &nbsp;</td>

The datasource of the dropdown is a view of the company's name and ID that connects to ASP through a Linq datasource.

Any help would be greatly appreciated

Sydney
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top