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

BareImage

2 Answers 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nebras
Top achievements
Rank 1
Nebras asked on 15 Mar 2011, 12:43 PM
Hi, All
I am using version 2010-Q3 and I want to let my "select" button style to be GridButtonType.BareImage which is not supported in the GridButtonType  Enumeration , how?

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 15 Mar 2011, 01:09 PM
Hi Nebras ,

You need to remove (override) the background and border styles from the t-button CSS class. You suitable selectors to target only the buttons that you want to be "bare".


Dimo
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Nebras
Top achievements
Rank 1
answered on 15 Mar 2011, 02:42 PM
Thanks, Dimo
my solution :
 
.t-grid .t-grid-action
{border:none;
 min-width: 0;
 padding: 0;
 min-height:0;
height:16px;
}
.t-grid .t-grid-action .t-icon {
 background: transparent url('../../Content/Images/select.jpg');
margin: 0;
height:16px;
 border:none;
}
.t-button { border:none;
-webkit-border-radius: 500px;
-moz-border-radius: 500px ;
}
Note: circular buttons are not supported in IE
Tags
Grid
Asked by
Nebras
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Nebras
Top achievements
Rank 1
Share this question
or