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

Applying asp theme on gridnumericcolumneditor's numerictextbox?

1 Answer 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
AereoN
Top achievements
Rank 1
AereoN asked on 19 Feb 2010, 02:47 AM
There is a property for skinid in the numerictextbox inside the gridnumericcolumneditor.
How do I define the skin for this control in the skin file?
I tried defining it using telerik:radnumerictextbox but it's not working.
What is the correct prefix that I need for this control?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 22 Feb 2010, 01:57 PM
Hello AereoN,

I am afraid that the GridNumericColumnEditor control cannot be themed. In addition, it always takes the skin of its parent RadGrid control.

I suppose you want to assign a skin name to the editing RadNumericTextBox, which is different from the RadGrid skin name. In this case I can suggest you to do one of the following:

1) Assign a CssClass to the RadNumericTextBox via the ASP.NET theme and use that CSS class to override the textbox' embedded skin. Another option is to override the styles of all RadNumericTextBoxes inside RadGrid without assigning a custom CSS class for them.

http://blogs.telerik.com/dimodimov/posts/08-06-17/how_to_override_styles_in_a_radcontrol_for_asp_net_ajax_embedded_skin.aspx

http://www.telerik.com/help/aspnet-ajax/input_appearancecssselectors.html

or

2) Use a template column and an EditItemTemplate with a RadNumericTextBox with a SkinID and a Skin of your choice.


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.
Tags
Grid
Asked by
AereoN
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or