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

RadNumericTextBox

2 Answers 190 Views
Input
This is a migrated thread and some comments may be shown as answers.
Matthew Fitzpatrick
Top achievements
Rank 1
Matthew Fitzpatrick asked on 11 Aug 2008, 03:13 PM
I've two problems after embedding a RadNumericTextBox within the CommandItemTemplate of a RedGrid.

1) ShowSpinButtons="True", yet they are not showing up.  If I place the RadNumericTextBox out side the grid they show...

2) How do I change the font color of the label?

                                <CommandItemTemplate>
                                    <div style="text-align: right">
                                        <table style="border: none">
                                            <tr>
                                                <td style="vertical-align: middle; padding-left: 10px">
                                                    <telerik:RadNumericTextBox ID="RadNumericTextBox2" runat="server" Culture="English (United States)"
                                                        EmptyMessage="P&L Threashold" InvalidStyleDuration="100" Label="Threashold" ShowSpinButtons="True"
                                                        Skin="Vista" ToolTip="Enter P&L Threashold" Type="Currency" Value="25" Width="125px">
                                                        <EnabledStyle HorizontalAlign="Right" />
                                                        <NumberFormat AllowRounding="True" KeepNotRoundedValue="False" />
                                                    </telerik:RadNumericTextBox>
                                                </td>
                                                <td>
                                                    <asp:LinkButton ID="LinkButton4" runat="server" CommandName="RebindGrid"><img style="border:0px;vertical-align:middle;" alt="" src="images/Refresh.gif" /> Refresh Products</asp:LinkButton>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </CommandItemTemplate>

Thanks!

2 Answers, 1 is accepted

Sort by
0
Matthew Fitzpatrick
Top achievements
Rank 1
answered on 11 Aug 2008, 04:55 PM
I see how to change the skin font color:

Add:
    <style type="text/css">
   .MyLabelStyle
   {
     color:white !important;
   }
 </style>

And:
LabelCssClass="MyLabelStyle"

As for the Spinner buttons, I'm looking at SpinDownCssClass and SpinUpCssClass.
0
Matthew Fitzpatrick
Top achievements
Rank 1
answered on 11 Aug 2008, 05:48 PM
Seems like SpinDownCssClass and SpinUpCssClass are not working.  Found RadNumericTextBox skin thread posted by Ayelet saying as much.
Tags
Input
Asked by
Matthew Fitzpatrick
Top achievements
Rank 1
Answers by
Matthew Fitzpatrick
Top achievements
Rank 1
Share this question
or