我使用DevExpress生成了一个标签,如何使用Jquery使这个标签成为ClientVisible。 访问labelo的ID为$('#lbl_Err _'+ Model.Id)
Html.DevExpress().Label(lbl => {
lbl.Name = string.Format("lbl_Err_{0}", Model.Id);
lbl.Text = "You must supply a reason`enter code here`n: 10 characters minimum";
lbl.ControlStyle.Font.Bold = false;
lbl.Properties.EnableClientSideAPI = true;
lbl.ClientVisible = false;
lbl.ControlStyle.ForeColor = System.Drawing.Color.Red;
}).Render();