Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

To disable autopostback for Calender Control in ASP.net

Iam trying to use System.Web.UI.WebControls.Calender.

But when I select any date , It post backs automatically. Is there any way to avoid this behavior.

(I dont see the usual property AutoPostback which I set to False to avoid this behavior)

I need the selected date only once user submits the form.

Note- I am using VS2008

like image 711
Ananth Avatar asked Nov 05 '22 02:11

Ananth


1 Answers

I generally avoid avoid the MS calender control because I find it so hard to work with and style. Have you considered something like the jQuery UI date picker, works as you need and far easier to style after too.

http://jqueryui.com/demos/datepicker/#inline

like image 169
Hawxby Avatar answered Nov 14 '22 20:11

Hawxby