Hi Telerik developers;
This problem RadGrid in radwindow open in server side GridClientSelectColumn selected
Gird in Columns
C# is Radgrid item data bound
RadWindow open and grid columns no selected GridClientSelectColumn
I want you selected the selected object
This radwindow image in click
This problem RadGrid in radwindow open in server side GridClientSelectColumn selected
Gird in Columns
<
Columns
>
<
telerik:GridClientSelectColumn
UniqueName
=
"chkSelectColumn"
HeaderStyle-Width
=
"20px"
></
telerik:GridClientSelectColumn
>
<
telerik:GridBoundColumn
DataField
=
"CekKartID"
HeaderText
=
"ID"
ReadOnly
=
"true"
ShowFilterIcon
=
"false"
Display
=
"false"
UniqueName
=
"CekKartID"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"CekNo"
HeaderText
=
"Çek No"
FilterControlWidth
=
"80%"
ShowFilterIcon
=
"false"
HeaderStyle-Width
=
"100px"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"BankaAdi"
HeaderText
=
"Banka Adi"
FilterControlWidth
=
"80%"
ShowFilterIcon
=
"false"
HeaderStyle-Width
=
"100px"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"AlinanCari"
HeaderText
=
"Alinan Cari Unvan"
FilterControlWidth
=
"80%"
ShowFilterIcon
=
"false"
HeaderStyle-Width
=
"100px"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"VadeTarihi"
HeaderText
=
"Vade Tarihi"
FilterControlWidth
=
"80%"
ShowFilterIcon
=
"false"
HeaderStyle-Width
=
"100px"
></
telerik:GridBoundColumn
>
<
telerik:GridNumericColumn
DataField
=
"Tutar"
HeaderText
=
"Tutar"
DataFormatString
=
"{0:N}"
Aggregate
=
"Sum"
FilterControlWidth
=
"20%"
ShowFilterIcon
=
"false"
HeaderStyle-Width
=
"100px"
/>
</
Columns
>
C# is Radgrid item data bound
protected
void
grdPortCekIade_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
{
GridDataItem dataBoundItem = e.Item
as
GridDataItem;
var rowID= dataBoundItem[
"CekKartID"
].Text;
//sesCekKart = session in CekKart Table
if
(Convert.ToInt32(rowID) == sesCekKart.CekKartID)
{
CheckBox chk = (CheckBox)dataBoundItem[
"chkSelectColumn"
].Controls[0];
chk.Checked =
true
;
}
}
}
RadWindow open and grid columns no selected GridClientSelectColumn
I want you selected the selected object
This radwindow image in click