Tuesday, April 2, 2024

How to style label or linkbutton in ASP.NET in C#

   lnkAppCNRno.Attributes.CssStyle[HtmlTextWriterStyle.BackgroundColor] = "unset !important";

                    lnkAppCNRno.Attributes.CssStyle[HtmlTextWriterStyle.TextDecoration] = "none";

                    lnkAppCNRno.Attributes.CssStyle[HtmlTextWriterStyle.Cursor] = "default";

No comments:

Post a Comment