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

相关文章:

  • 2022-01-12
  • 2022-12-23
  • 2021-11-10
  • 2022-12-23
  • 2021-06-27
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
猜你喜欢
  • 2022-03-07
  • 2022-03-06
  • 2022-02-21
  • 2021-08-21
  • 2021-05-31
  • 2022-02-09
  • 2021-10-23
相关资源
相似解决方案