DataDictionaryDropDownList

 <%-- <web:DataDictionaryDropDownList ID="ddlPublicationType" runat="server" Name="PublicationType"

                            DictionaryCode="PublicationType" RepeatDirection="Horizontal" validator="required">

                        </web:DataDictionaryDropDownList>--%>

 

 

        <web:DataDictionaryRadioButtonList ID="drbPublicationType" runat="server" Name="PublicationType"

         DictionaryCode="PublicationType" RepeatDirection="Horizontal" validator="required">

        </web:DataDictionaryRadioButtonList>

 

KIssU 中的字典控件的解释:

DictionaryCode的值是

SELECT Code FROM dbo.SYS_Dictionaries

WHERE Name = '获取政府信息的方式'

这样字典就可以有下拉的选项了。Name属性是为了提交数据和编辑时绑定数据的。ID属性是可以通过JQuery或者在后台操作的。

posted @ 2013-11-26 23:18  weifb  阅读(131)  评论(0)    收藏  举报