What I have is a linkbutton with a command name on myradgrid to call my radwindow. So what I need to do is populate the checkbox list that sits in myradwindow on the click of this linkbutton, to populate the checkbox list and see if anything exists check the boxes if not check nothing.
Right now just trying to figure how I can get the checkboxes to populate. After this I will need to pass a value to either populate the list with checkboxes or not depending if saved in DB.
Right now just trying to figure how I can get the checkboxes to populate. After this I will need to pass a value to either populate the list with checkboxes or not depending if saved in DB.
<
telerik:RadWindow
ID
=
"RadTeams"
runat
=
"server"
Width
=
"500px"
Height
=
"250px"
Enabled
=
"true"
Modal
=
"true"
VisibleTitlebar
=
"false"
VisibleStatusbar
=
"false"
CssClass
=
"CentTable"
>
<
ContentTemplate
>
<
table
class
=
"CentTable"
>
<
tr
>
<
td
style
=
"text-align:center"
>Please Pick Teams to Assign to Region</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:CheckBoxList
ID
=
"cbTeams"
runat
=
"server"
AutoPostBack
=
"false"
RepeatDirection
=
"Horizontal"
RepeatColumns
=
"3"
TextAlign
=
"Right"
></
asp:CheckBoxList
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"text-align:center"
>
<
asp:LinkButton
ID
=
"lnkSubmit"
runat
=
"server"
Text
=
"Submit"
></
asp:LinkButton
>
<
asp:LinkButton
ID
=
"lnkCancel"
runat
=
"server"
Text
=
"Cancel"
></
asp:LinkButton
>
</
td
>
</
tr
>
</
table
>
</
ContentTemplate
>
</
telerik:RadWindow
>
<
telerik:GridTemplateColumn
>
<
ItemTemplate
>
<
asp:LinkButton
ID
=
"lnkAssign"
runat
=
"server"
CommandArgument='<%# Bind("strRegionCode")%>' Text="Assign Teams" CommandName="Assign" OnClientClick='<%# String.Format("addAdminWin({0}, {1}); return false;", Eval("intRegionID"), 2)%>'></
asp:LinkButton
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>