I cannot seem to use jQuery to select a CheckBoxList inside a RadWindow ContentTemplate.Clicking on the checkboxes does nothing, but if I move the CheckBoxList out of the RadWindow it works fine. I've probably tried a dozen selectors, none work.
<
telerik:RadWindow
ID
=
"MonthsWindow"
runat
=
"server"
Skin
=
"Metro"
AutoSize
=
"true"
MinWidth
=
"575px"
MaxWidth
=
"700px"
MaxHeight
=
"600px"
KeepInScreenBounds
=
"true"
Left
=
"100"
Top
=
"100"
VisibleOnPageLoad
=
"false"
Behaviors
=
"Close, Move"
RenderMode
=
"auto"
DestroyOnClose
=
"true"
EnableAjaxSkinRendering
=
"true"
ShowContentDuringLoad
=
"true"
>
<
ContentTemplate
>
<
asp:CheckBoxList
ID
=
"CheckBoxList1"
runat
=
"Server"
>
<
asp:ListItem
Text
=
"Red"
Value
=
"red"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Blue"
Value
=
"blue"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Green"
Value
=
"green"
></
asp:ListItem
>
</
asp:CheckBoxList
>
</
ContentTemplate
>
</
telerik:RadWindow
>
$(
"[id*='CheckBoxList1']"
).click(
function
() {
//code
});