Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 添加新的记录编辑表单不显示在dropdownlist中_Asp.net_Vb.net_Telerik - Fatal编程技术网

Asp.net 添加新的记录编辑表单不显示在dropdownlist中

Asp.net 添加新的记录编辑表单不显示在dropdownlist中,asp.net,vb.net,telerik,Asp.net,Vb.net,Telerik,当我单击“添加新记录”时,有人知道为什么这一行阻止Telerik RadGrid的编辑表单显示吗?当我单击行上的“编辑”时,编辑窗体将正常显示 <asp:DropDownList ID="lst_ProjectCode" class="form-control" runat="server" Width="250" DataSourceID="SqlDataSource2" DataValueField="Pr

当我单击“添加新记录”时,有人知道为什么这一行阻止Telerik RadGrid的编辑表单显示吗?当我单击行上的“编辑”时,编辑窗体将正常显示

    <asp:DropDownList ID="lst_ProjectCode" 
        class="form-control" 
        runat="server" Width="250" 
        DataSourceID="SqlDataSource2" 
        DataValueField="ProjectCode" 
        SelectedValue='<%# Bind("ProjectCode")%>'>
    </asp:DropDownList>


这与
SelectedValue=''
有关,否则会出现编辑表单。是因为该值为空吗?

是否
SelectedValue=''
工作?网格代码看起来如何?