Author: jbchen | Posted on: 9/29/2009 8:22:18 AM | Views : 350

hi,
I tried to set default value to null, but the problem is when I do DDReportFormat.SelectedValue,
it is actually the string value "null", not really a null value. 
 
<asp:DropDownList ID="DDReportFormat" runat="server">
<asp:ListItem Text="Un specified" Value=null ></asp:ListItem>
<asp:ListItem>PDF</asp:ListItem>
<asp:ListItem>EXCEL</asp:ListItem>
</asp:DropDownList>
 
thanks
...

Go to the complete details ...