this.radComboBox1.ComboBoxElement.DropDownWidth = 200;
this.radComboBox1.ComboBoxElement.DropDownHeight = 600;
RadTimePicker1.SelectedDate = DateTime.ParseExact("12:00", RadTimePicker1.TimeView.TimeFormat, null); // set default time RadTimePicker1.TimeView.StartTime = new TimeSpan(8, 60, 0); //start time RadTimePicker1.TimeView.EndTime = new TimeSpan(17,60, 0); // end time |
SELECT REPLACE('sample','ple','');
GO
Result:sam
Java > Height div to window height with scroll
<script type="text/javascript" language="javascript">
window.onload = function () { SizeDiv(); }
function getDocHeight() {
var D = document;
return Math.max(
Math.max(D.body.scrollHeight, D.documentElement.scrollHeight),
Math.max(D.body.offsetHeight, D.documentElement.offsetHeight),
Math.max(D.body.clientHeight, D.documentElement.clientHeight)
);
}
function SizeDiv() {
document.getElementById('leftCol').style.height = getDocHeight()-175 + "px";
}
</script>