

























DataList 的 <ItemTemplate> 下面放了一个Label控件 我想动态绑定他的ID
<asp:Label ID='<%# Eval("QuestionID") %>' runat="server" Text='<%# Eval("QuestionContent") %>' ></asp:Label>
这么做是错误的 但是 我要用DOM抓Label的ID 来做其他功能,必须让Label的ID 不同
请问有什么方法吗? 一定要让Label的ID 不同,因为我要用JS来控制 鼠标拖拽Label 必须有不同的ID
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。