2017-02-25 9 views
0

DevExpressを使用してラベルを生成しました.Jqueryを使用してこのラベルをClientVisibleにするにはどうすればよいですか。 labeloにアクセスするための Idは$( '#lbl_Err _' + Model.Id)Javeryを使用してDevExpressラベルのClientVisibleを作成する方法

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(); 

答えて

関連する問題