This is a migrated thread and some comments may be shown as answers.

Applying Skin to the button for the button that appears when popup edit mode is selected

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Deepika
Top achievements
Rank 1
Deepika asked on 13 Mar 2012, 12:52 PM
Hi,
I have a radgrid, with EditMode as "PopUp". I want the Update and cancel Button to be of PushButton Type. But, when I set the ButtonType Property, It comes with default skin. But I want it to have a radButton skin. How to set it?
Thanks and Regards,
Deepika Karanth

1 Answer, 1 is accepted

Sort by
0
Milena
Telerik team
answered on 16 Mar 2012, 01:30 PM
Hello Deepika,

The push button is not styled, because it is a regular <input type="submit" /> and if we have styled it it will be difficult to return its default settings.

However, you can style it with the following CSS example for the Telerik Skin
.RadGrid_Telerik .rgEditForm input[type="submit"]
{
    cursor: pointer;
    border: 1px solid #28a800;
    background: #f2f2f2;
    color: #333;
}

For other Skins, replace _Telerik with their _Name, read here more examples.

Additionally, I recommend you to use ButtonType="ImageButton" in case you want the button to style with changing the skin.


Greetings,
Milena
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Deepika
Top achievements
Rank 1
Answers by
Milena
Telerik team
Share this question
or