0

Telerik numerictextbox 和 Telerik 日期选择器在 asp 页面中的样式。我想更改背景颜色,telerik rad 文本框的边框颜色,rad datepicker。请帮助我,我尝试使用 style="....." 但不工作。提前致谢

<telerik:RadNumericTextBox ID="RadNumericTextBox3" width="145px" runat="server"></telerik:RadNumericTextBox>

<telerik:RadDatePicker ID="RadDatePicker1" runat="server"></telerik:RadDatePicker>

请帮我............

4

1 回答 1

1

您是否尝试过使用控件的属性?

<telerik:RadNumericTextBox ID="myNumTextBox" runat="server" 
            BackColor="Yellow" BorderColor="Red">
</telerik:RadNumericTextBox>
<telerik:RadDatePicker ID="myDatePicker" runat="server"
            BackColor="Yellow" BorderColor="Red"
            Calendar-CalendarTableStyle-BorderColor="Red"
            Calendar-CalendarTableStyle-BackColor="Yellow"
            Calendar-DayStyle-BorderColor="Red"
            Calendar-DayStyle-BackColor="Yellow"
            Calendar-FastNavigationStyle-BorderColor="Red"
            Calendar-FastNavigationStyle-BackColor="Yellow"
            DateInput-BorderColor="Red"
            DateInput-BackColor="Yellow">
</telerik:RadDatePicker>

对于 DatePicker,我假设您想要输入字段的BackColorand BorderColor,所以使用DateInput-属性。

于 2012-12-11T19:47:50.953 回答