hello sir.
thans for your reply. how can i set viewstate in javascript i am using datepicker like this.
<script type="text/javascript">
$(document).ready(function() {
$("#<%= TxtToDate.ClientID %>").datepicker({ numberOfMonths: 2 });
// $("#txtDate").datepicker({ numberOfMonths: 2 });
});
</script>
where can set the viewstate here.