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

[Solved] Grid Command Buttons in IE

3 Answers 120 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.
Philip Senechal
Top achievements
Rank 1
Philip Senechal asked on 29 Jul 2011, 09:16 PM
Hello,

Please look at the following page with Chrome and also IE 7
http://demos.telerik.com/aspnet-mvc/razor/Grid/EditingAjax?theme=vista

Can you explain to me how to make the width of the Command buttons (Edit and Delete) in each row consistent? As you can see, IE 7 makes them much wider than in Chrome. I have tried countless CSS combinations as well as adding a .HtmlAttributes on the command buttons themselves, but I can't seem to figure out how to change it on IE.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 01 Aug 2011, 09:17 AM
Hello Philip,

The buttons have the same width in IE7 and Chrome on my side (see the screenshot). Am I missing something?

Regards,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

0
Philip Senechal
Top achievements
Rank 1
answered on 01 Aug 2011, 08:21 PM
Sorry...I should have said to look at the Image button (no text)
0
Dimo
Telerik team
answered on 02 Aug 2011, 07:50 AM
Hello Philip,

Thanks for the clarification. The issue is fixed now and changes will take effect in the next internal build.

In the meantime, you can use the following CSS rule to shrink the buttons:

html body div.t-grid tbody .t-button-icon
{
    min-width: 0;
    width: auto;
}

I have updated your Telerik points for bringing the issue to our attention.

Greetings,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Tags
Grid
Asked by
Philip Senechal
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Philip Senechal
Top achievements
Rank 1
Share this question
or