HI
this is my grid tag
and this is my function that bind my grid on client side:
after data bind the time colum show [object Object] for every rows?
why? and how can i solve this problem ?
Best regards,
mohammad
this is my grid tag
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AutoGenerateColumns
=
"false"
>
<
ClientSettings
>
<
Selecting
AllowRowSelect
=
"true"
/>
</
ClientSettings
>
<
MasterTableView
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"ID"
HeaderText
=
"شماره"
UniqueName
=
"ID"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"GeneralDate"
HeaderStyle-Font-Names
=
"Tahoma"
HeaderText
=
"تاریخ"
ItemStyle-Font-Names
=
"Tahoma"
DataFormatString
=
"{0:yyyy/MM/dd}"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"time"
HeaderStyle-Font-Names
=
"Tahoma"
HeaderText
=
"ساعت"
ItemStyle-Font-Names
=
"Tahoma"
UniqueName
=
"time"
>
</
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
and this is my function that bind my grid on client side:
var
tableView = $find(
"<%= RadGrid1.ClientID %>"
).get_masterTableView();
tableView.set_dataSource(result);
tableView.dataBind();
after data bind the time colum show [object Object] for every rows?
why? and how can i solve this problem ?
Best regards,
mohammad