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

button-image not clickable on Command Edit/Delete/Update/Cancel buttons

0 Answers 113 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.
Jim
Top achievements
Rank 1
Jim asked on 24 Nov 2010, 08:39 AM
I am using MVC UI Extensions v. 2010.3.1110.235.

After following a hint from the forum to minimize the size of the command buttons by applying css

div.t-grid .t-grid-action { min-width: 0; padding: 0; }
div.t-grid .t-grid-action .t-icon { margin: 0; }

and setting my Command Buttons to GridButtonType.Image,

columns.Command(commands =>
{
    commands.Edit().ButtonType(GridButtonType.Image);
    commands.Delete().ButtonType(GridButtonType.Image);
});

I noticed that the button images themselves are not "clickable".

However the same is true even if I remove those 2 CSS lines.

The button itself is still firing but rather hard to hit with a remaining 1 pixel area around the button image.

The Toolbar Button for adding a new record however does not show this problem, the button image itselfs is clickable and firing.

Dazed and confused ???

Thx
Jim



Tags
Grid
Asked by
Jim
Top achievements
Rank 1
Share this question
or