Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在客户端检查RedListbox中的项目数。
我怎样才能做到这一点?
谢谢。
通过在客户端使用以下代码解决了自己。
var list = $find("<%= listbox_InitialSelected.ClientID %>"); var count = list.get_items().get_count();