How can I append this
<% =i %>
variable onto this.
<asp:DropDownList ID="AdTitle" runat="server">
Cant have this for some reason.
<asp:DropDownList ID="AdTitle<% =i %>" runat="server">
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
You shouldn’t need to dynamically generate ids in this way.
Use a repeater (or any other repeating control with item templates):
Or generate your controls server side:
If you use the repeater make sure you use databindings (
<%#) rather than literals (<%=).