![]() |
Sergey Kornilov admin 5/10/2011 |
You need to use Javascript API for this purpose: |
M
|
MrDerp author 5/11/2011 |
You need to use Javascript API for this purpose: http://xlinesoft.com/asprunnerpro/docs/ctrl_setdisabled.htm
|
![]() |
Sergey Kornilov admin 5/11/2011 |
Javascript API is not available in version 6.1. You can do the same using plain Javascript however you need to disable each dropdown box and datepicker separately. Find a name of each control that is part of date edit control and disable it separately. |
M
|
MrDerp author 5/11/2011 |
Thanks. I've managed to disable each dropdown box but I can't seem to disable the datepicker. I've looked at the source for the edit page and can see that I need to disable the following: |
![]() |
Sergey Kornilov admin 5/11/2011 |
Unfortunately it won't work the same way with datepicker in version 6.1 since this is not an edit control and doesn't have an ID. |
M
|
MrDerp author 5/12/2011 |
I've managed to get around this by just having dropdown boxes and no datepicker. |
![]() |
Sergey Kornilov admin 5/12/2011 |
Probably you should not disable tsvalue_date field. Not sure what else I can suggest without seeing your application. |