ASP.NET - bug in dropdownlist..? - Asked By sunil pandey on 21-Jan-12 03:38 AM

hi all
i added list item but not showing in runtime

<asp:DropDownList ID="ddlContactResponse"  runat="server" CssClass="tb10" AutoPostBack="True"  onselectedindexchanged="ddlContactResponse_SelectedIndexChanged">
   <asp:ListItem>Potential Client</asp:ListItem>
    <asp:ListItem>No Response</asp:ListItem>
    <asp:ListItem>Not Interested</asp:ListItem>
    <asp:ListItem>Call Later</asp:ListItem>
Sri K replied to sunil pandey on 21-Jan-12 03:42 AM
Every thing is correct .What is that CSS Class?
give the explanation about the CssClass="tb10"
Suchit shah replied to sunil pandey on 21-Jan-12 04:51 AM
Your ASPX page code is correct main thing you need to check is that on your code behind file if you have disable the visibility of that dropdownlist then it want show
so just check  you have not right like this

ddlContactResponse.Visible = false;

if you right this in code behind it want show in your page

dipa ahuja replied to sunil pandey on 21-Jan-12 06:28 AM
CssClass="tb10" ◄ This may be creating problem

chck your css class it may be set to make the control hide or set the attribute of display:none
sunil pandey replied to dipa ahuja on 22-Jan-12 05:57 AM
thanks for reply...

can you help to to create crystal reports with desired format..???
Riley K replied to sunil pandey on 23-Jan-12 04:05 AM

 To adjust the formatting (font, display, style, alignment, etc.) of a Crystal Reports report field:

On the right-side of the Design View page, right-click on the field whose formatting you want to edit and select Format Field from the pop-up menu. The Format Editor dialog box appears.

Refer this link for screenshot