<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Classic.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Telerik RadInput and RadDateTimePicker with no Tables</title>
<style type="text/css">
	@import url("styles.css");
</style>
</head>

<body>
<form id="form1" runat="server">
<script type="text/javascript">
	function InputClick()
	{
		document.getElementById('form1').submit();
	}
	function DateClick()
	{
		<%= RadDateTimePicker1.ClientID %>.ShowPopup();
	}
	function TimeClick()
	{
		<%= RadDateTimePicker1.ClientID %>.ShowTimePopup();
	}	
</script>

<div>
	<h1>Telerik RadInput and RadDateTimePicker with no Tables</h1>
	
	<h2>RadTextBox + Label + Go Button</h2>
	<label for="RadTextBox1_text">Label</label>
	<rad:RadTextBox ID="RadTextBox1" runat="server" />
	<a href="#" onclick="InputClick()" class="va"><img src="img/input_button.gif" alt="go button" /></a>
	<br />
	<em><asp:Label ID="Label1" runat="server" /></em>
	
	
	<h2>RadDateTimePicker + Label + Popup Buttons</h2>
	<label for="RadDateTimePicker1_dateInput_text">Label</label>
	<rad:RadDateTimePicker ID="RadDateTimePicker1" runat="server"
		DatePopupButton-Visible="false"
		TimePopupButton-Visible="false"
	/>
	<a href="#" onclick="DateClick()" class="va"><img src="img/datepicker_button.gif" alt="pick date" /></a>
	<a href="#" onclick="TimeClick()" class="va"><img src="img/timepicker_button.gif" alt="pick time" /></a>
	
</div>
</form>
</body>
</html>
