
add display none to this class by using Classname= ui-datepicker-trigger
using c#

Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Dinesh Vijayakumar45 reputationPosted Jan 5, 2015, 5:39 AM EST
Your question is need to be little bit clear.
Approaching editing css class is not best practice though it's not possible too.
Because css is not meant for user depended, is applicable for whole website wherever u referred them, If you change the css from c# it will affect the other user who is not required that property to view or use.
1. Do you want to add inline style to img tag using C# ?
If so
access this img1 from your code behind.
img1.attributes.add("style","display:none");
2. Another method is create a css class with display:none property
img1.attributes.add("class","
ui-datepicker-trigger");
[If this solutions is works, like it]
Dinesh Vijayakumar45 reputationPosted Jan 5, 2015, 5:45 AM EST
document.getElementById(id).style.property=new style
for more http://www.w3schools.com/js/js_htmldom_css.asp
Khargesh RajputRank #616 · 3.9K reputationPosted Jan 5, 2015, 1:30 AM EST
img1.Style.Add("display","none");