troubleshooting Question

Setting the index value of a dropdownlist when its created

Avatar of Robb Hill
Robb HillFlag for United States of America asked on
Web Languages and Standards
3 Comments1 Solution164 ViewsLast Modified:
I have a dropdownlist in 2.0.

This dropdownlist is populated from a SQLDATASOURCE control.

When the control is created the 1st item in the list does not let me click on it.  I am pasting the code below.  Please help.

<asp:SqlDataSource ID="TemplateSource" runat="server"
     ConnectionString="<%$  ConnectionStrings:NewDMSConnectionString %>"
     SelectCommand="select * from Template inner join Templatedetail on tmptype = RepType order by tmpName"

<asp:DropDownList id="TemplateList" Runat="Server"
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros