I have two controls in an UpdatePanel; a checkbox and a timepicker.
When I click the checkbox (event CheckedChanged) it is supposed to make the timepicker editable (ReadOnly = false) and vice-versa. I want the event CheckedChanged raised without doing a full postback.
Is there a workaround without doing it in javascript? I don’t know well how triggers on an UpdatePanel are managed.
Thanks!
(asp.net 4.0, C#)
Unfortunately, using an UpdatePanel will cause a full postback. So if you don’t want that, you’d have to use client-side JavaScript.
It’s not very complex. Find someone who can write the JavaScript for you, this is not rocket science.