or
<telerik:RadFormDecorator Skin="Office2010Silver" Enabled="true" ID="QsfFormDecorator" DecorationZoneID="rfd-demo-zone" runat="server" DecoratedControls="All" EnableRoundedCorners="true" EnableEmbeddedSkins="true" /><telerik:RadNumericTextBox ID="MPlanActLine" runat="server" TabIndex="1" Width="100px" Type="Number" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox><telerik:RadNumericTextBox ID="MPlanActCPDaysAfterSigning" runat="server" TabIndex="4" Width="100px" Type="Number" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>| bool enterTime = chkShowTimes.Checked; |
| RadDateTimePicker1.DateInput.DateFormat = enterTime ? "M/d/yyyy h:mm tt" : "d"; |
| RadDateTimePicker1.DateInput.DisplayDateFormat = enterTime ? "M/d/yyyy h:mm tt" : "d"; |
| RadDateTimePicker1.TimeView.Visible = enterTime; |
| RadDateTimePicker1.TimePopupButton.Visible = enterTime; |
This concept worked in the non-Prometheus version, but now once I set the "TimeView" portion "visible = false", I get a javascript error:
| Microsoft JScript runtime error: Sys.InvalidOperationException: |
| Component 'RadDateTimePicker1_timeView' was not found. |
.wrapLabel{ float:left; clear:left;}.riSingle .riContentWrapper {width: auto !important; }.wrapLabel { width: auto !important;}