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

Button with explicit CssClass no longer styled by Grid

0 Answers 9 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 07 Jan 2013, 02:57 AM
Inside an EditItemTemplate of a Grid I have two buttons:

<div>
    <asp:Button runat="server" ID="btnSave" CommandName="Update" Text="Save" OnClick="btnSave_Click" />
    <asp:Button runat="server" ID="btnCancel" CommandName="Cancel" Text="Cancel" CssClass="floatRight" />
</div>

The first Save button is placed inside a "rfdSkinnedButton" anchor tag and has rounded corners etc.
The second Cancel button is not automatically styled this way. Seems its explicit CssClass overrides this behaviour. What is this behaviour called? Grid skinning?

How do I float my Cancel button right but still get the rounded corners etc?

No answers yet. Maybe you can help?

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