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

RadGrid InLine Edit, Set ​Textbox Skin

2 Answers 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Caolan
Top achievements
Rank 1
Caolan asked on 11 Sep 2015, 04:00 PM

I have an inline edit form on a radgrid. I am using the Glow skin and usually the textbox is black and the text is white, however both the text and textbox background colour are being rendered white for the inline edit form. How can I set the skin for the textboxes while in inline edit mode? The inline edit form is not specified I am using the automatic rendering.

Cheers

Caolan

2 Answers, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 12 Sep 2015, 10:33 AM
Hello Caolan,

RadGrid will generated standard TextBox control as an editor for the GridBoundColumns and since that control is not part of our suite and no styles will be applied to it.

The easiest way for unifying the look for the standard controls with the skin of our controls is by using RadFormDecorator:
<telerik:RadFormDecorator DecoratedControls="Textbox" runat="server" Skin="Glow" />
 
<telerik:RadGrid runat="server" ID="RadGrid1" OnNeedDataSource="RadGrid1_NeedDataSource" Skin="Glow">
    <MasterTableView EditMode="InPlace">
        <Columns>
            <telerik:GridEditCommandColumn></telerik:GridEditCommandColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

Detailed information about the RadFormDecorator could be found in the following help article:
Hope this helps.


Regards,
Konstantin Dikov
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Caolan
Top achievements
Rank 1
answered on 16 Sep 2015, 01:16 PM

Konstantin Dikov,

Thank you very much this is working perfectly.

Cheers

Caolan

Tags
Grid
Asked by
Caolan
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Caolan
Top achievements
Rank 1
Share this question
or