
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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dinesh VijayakumarPosted Jan 5, 2015, 10:45 AM
document.getElementById(id).style.property=new style
for more http://www.w3schools.com/js/js_htmldom_css.asp
Dinesh VijayakumarPosted Jan 5, 2015, 10:39 AM
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]
Khargesh RajputPosted Jan 5, 2015, 6:30 AM
img1.Style.Add("display","none");