Readonly C1DateInput with c1Calendar forcing Postback

Posted by: jfmartin on 10 September 2017, 11:30 am EST

  • Posted 10 September 2017, 11:30 am EST

    Hi,

    i have following code:

                                                         WebCalendar="C1CalendarBeginDate" WebCalendarPopupPosition="Below"
                                                        CustomButtonAlign="Right" DateFormat=""
                                                        />
                                                                                            PopupMode="True"
                                                        WeekDayFormat="Abbreviated"                             
                                                        AllowPreview="false"
                                                        ShowWeekNumbers="false"    
                                                        ClientOnAfterClose="CalendarClosed" FirstDayOfWeek="Monday"    ClientOnSelectedDatesChanged="C1DateInputBeginDate_ClientOnSelectedDatesChanged">
                                       

    What i want to do that C1DateInputBeginDate stay in readonly mode and ClientOnSelectedDatesChanged of C1Calendar  force a postback to do some tasks in server side . The problem is that i can not find property Readonly for C1DateInput. I have found Enabled propperty, but in makes that you can not select a date in  C1Calendar.

    Some idea to solve this problem.

    Regards

     

     

     

  • Replied 10 September 2017, 11:30 am EST

    ReadOnly property is available in builds after x.0.20101.158.


     


     

  • Replied 10 September 2017, 11:30 am EST

    Thank you.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels