Calendar Control entry clears the values in the top textboxes
-
Hi, I am using a user control where i have two textboxes to enter name and id and a dropdown calendar control. I use this user control in a page. My problem is, i enter the values in name and id textboxes and when i select a date from the calendar control the page is postbacked and the values in the top two textboxes are cleared... I want the values entered not to be cleared. Please help...
Regards, Sivaprasad
-
Hi, I am using a user control where i have two textboxes to enter name and id and a dropdown calendar control. I use this user control in a page. My problem is, i enter the values in name and id textboxes and when i select a date from the calendar control the page is postbacked and the values in the top two textboxes are cleared... I want the values entered not to be cleared. Please help...
Regards, Sivaprasad
-
view state property is enabled...still the same problem persists.. Is there some other property to be set for the user control.. The same code is working fine when the date control and the textboxes are kept in a page but not as a user control.. when these controls(2 text boxes and a calendar control)are made together as a user control I am geting this problem
Regards, Sivaprasad
-
view state property is enabled...still the same problem persists.. Is there some other property to be set for the user control.. The same code is working fine when the date control and the textboxes are kept in a page but not as a user control.. when these controls(2 text boxes and a calendar control)are made together as a user control I am geting this problem
Regards, Sivaprasad
-
Its working quite fine with me when doing the same thing. Are you generating the user control dynamically? And also what is that drop down date control?
Best Regards, Apurva Kaushal
dropdown date control is one where the calanden dosn,t open in a new window.no need to give window.open... Let me try it once again and if any doubts i will post it
Regards, Sivaprasad