Hi,
When I load the radwindow for first time I want that one of my item in the Radlistbox with checkbox is checked. I'm getting that item value from the Main page. Currently with the below code I am able to select the row but the checkbox is not selected.
Client Side code
<
telerik:RadListBox
ID
=
"Radlistbox"
runat
=
"server"
CheckBoxes
=
"true"
Width
=
"250px"
Height
=
"230px"
DataSourceID
=
"dsGetProducts"
DataTextField
=
"IDAndProduct"
DataValueField
=
"ProductID"
Skin
=
"Outlook"
onitemcheck
=
"Radlistbox_ItemCheck"
AutoPostBack
=
"true"
OnClientItemChecked
=
"OnClientItemChecked"
OnClientSelectedIndexChanged
=
"OnClientSelectedIndexChanged"
>
</
telerik:RadListBox
>
Server side
if (!Page.IsPostBack)
{
Radlistbox.SelectedValue = Session["ProductID"].ToString();
}
Thanks
Jessy