Error Message
Steps = Click on Calendar icon > Calendar pop up > Select Date (example 12/07/2010) > Date does not display on text box (please refer attached document)
Calendar Code
<asp:TemplateField HeaderText="Day End" SortExpression="Day_End">
<EditItemTemplate>
<asp:TextBox ID="Day_End" runat="server" Text='<%# Bind("Day_End") %>'></asp:TextBox>
<a href="Javascript:;" onclick="window.open('popup.aspx?textbox=Day_End','cal','width=250,height=225,left=270,top=180,')">
<img src="SmallCalendar.gif" border="0" /></a>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Day_End") %>'></asp:Label>
</ItemTemplate>
<HeaderStyle Font-Bold="True" Width="30%" />
<ItemStyle Width="70%" />
</asp:TemplateField>
Code (PopUp.aspx)
<%@ Page Language="vb" AutoEventWireup="false" CodeFile="PopUp.aspx.vb" Inherits="PopUp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>PopUp</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
</head>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:Calendar ID="calDate" OnSelectionChanged="Change_Date" Runat="server" Font-Names="Verdana" Font-Size="Smaller"/>
<input type="hidden" id="control" runat="server" />
</form>
</body>
</html>
Steps = Click on Calendar icon > Calendar pop up > Select Date (example 12/07/2010) > Date does not display on text box (please refer attached document)
Calendar Code
<asp:TemplateField HeaderText="Day End" SortExpression="Day_End">
<EditItemTemplate>
<asp:TextBox ID="Day_End" runat="server" Text='<%# Bind("Day_End") %>'></asp:TextBox>
<a href="Javascript:;" onclick="window.open('popup.aspx?textbox=Day_End','cal','width=250,height=225,left=270,top=180,')">
<img src="SmallCalendar.gif" border="0" /></a>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Day_End") %>'></asp:Label>
</ItemTemplate>
<HeaderStyle Font-Bold="True" Width="30%" />
<ItemStyle Width="70%" />
</asp:TemplateField>
Code (PopUp.aspx)
<%@ Page Language="vb" AutoEventWireup="false" CodeFile="PopUp.aspx.vb" Inherits="PopUp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>PopUp</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
</head>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:Calendar ID="calDate" OnSelectionChanged="Change_Date" Runat="server" Font-Names="Verdana" Font-Size="Smaller"/>
<input type="hidden" id="control" runat="server" />
</form>
</body>
</html>