Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
342 Points
59 Posts
Apr 01, 2012 11:55 AM|LINK
Hi haman2x
Can you ensure that you change the ClientIDMode of the the drop down list that is bound to the sql datasource (ddlUserID) to "Static" e.g.
<asp:DropDownList ID="ddlUserID" runat="server" DataSourceID="sqlDatasource" DataTextField="textField" DataValueField="valueField" ClientIDMode="Static"> </asp:DropDownList>
Please "Mark as Answer" if this resolved your issue
bakra
Member
342 Points
59 Posts
Re: my dropdownlist generates an error after postback
Apr 01, 2012 11:55 AM|LINK
Hi haman2x
Can you ensure that you change the ClientIDMode of the the drop down list that is bound to the sql datasource (ddlUserID) to "Static" e.g.
<asp:DropDownList ID="ddlUserID" runat="server"
DataSourceID="sqlDatasource" DataTextField="textField"
DataValueField="valueField" ClientIDMode="Static">
</asp:DropDownList>
Please "Mark as Answer" if this resolved your issue