Click here to Skip to main content
15,891,889 members
Please Sign up or sign in to vote.
1.33/5 (2 votes)
See more:
When I run my ASP .net application dropdownlist controls on form appears twice mean there is another dropdown near dropdown list .

Is that because of any css function ?

What I have tried:

<td class="style1"> Country </td>
 <td >
   <asp:DropDownList  ID="CboCountry" runat="server" CssClass ="dropdownstyle">
          <asp:ListItem>India</asp:ListItem>
          <asp:ListItem>Nepal</asp:ListItem>
   </asp:DropDownList>
</td>
Posted
Comments
[no name] 2-Jun-18 7:25am    
Applying CSS will only do formatting for current control it will now draw other control. You need to share proper code looking at code you supplied it will show only 1 dropdown on page.
yogeshysankar 2-Jun-18 8:18am    
hi.. actually I used free template for master page but when I try to create simple page with that master page , there is another similar control near dropdown list has been created.. Lots of css files are there in Template so i cant understand which file causes this change .. I had screen shot but how to attach it while asking question here ?
yogeshysankar 2-Jun-18 9:17am    
https://i.stack.imgur.com/2dlK5.jpg

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900