...but this is not enough.
Is there a way to control the appearance of the add button with css?
I can do this for the edit button (for example) of each row by:
Dim ImgBtn As ImageButton = DirectCast(e.Item.FindControl("EditCommandColumn"), ImageButton)
ImgBtn.CssClass = "editbutton"
...in the itemCreated event.
5 Answers, 1 is accepted
Please try with the below code snippet.
As per my knowledge there is not such type of property is there but you can assign CSS property by using below code snippet.
because for add button there are two DOM elements created.
Do not forgot to add "!important" in CSS property.
Let me know if any concern.
That's exactly what I wanted!
There is always the option to define your own command template where you can use the desired markup and classes. You can read more about the options and handling that in the following article: https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-editing/commanditem/command-item-template.