Date picker is not working with update panel

srlcwrt

New Member
My application is in asp.net 3.5 in which i am selecting date from date picker which is inside update panel. after selecting date and clicking on submit button page is post back. after post back when i try to select date once again i can`t see date picker there. //Code on aspx page \[code\] <%@ Page Title="" Language="C#" MasterPageFile="~/Sample/MasterPage.master" AutoEventWireup="true" CodeFile="UpdateProblem.aspx.cs" Inherits="Sample_UpdateProblem" %><asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"><script type="text/javascript" src="http://stackoverflow.com/questions/14558512/jscolor/jscolor.js"></script> // Script for date <asp:ScriptManager ID="ScriptManager1" runat="server" ></asp:ScriptManager><div><asp:UpdatePanel ID="panel1" runat="server"> <ContentTemplate> <asp:TextBox runat="server" ID="textbox" CssClass="color" /> <asp:Button ID="Button1" runat="server" Text="Button" /> </ContentTemplate></asp:UpdatePanel></div></asp:Content>\[/code\]Thanks in advance
 
Back
Top