I have a grid with a bound column:
I make a javascript call to a web service and bind the results to the grid:
The "LoadNo" is a number that can return 0. When binding I see every non-zero value but, 0 show as blank in the column.
Any thoughts?
<telerik:GridBoundColumn HeaderText="<%$ Resources:Common, Load %>" DataField="LoadNo"
UniqueName="LoadNo" SortExpression="LoadNo" HeaderStyle-Width="30px" />
I make a javascript call to a web service and bind the results to the grid:
function
updateMCTGrid(result) {
try {
ShowHideLoadingPanel(
'Hide', MCTransferGrid.ClientID);
MCTransferGrid.get_masterTableView().set_dataSource(result.Data);
MCTransferGrid.get_masterTableView().dataBind();
MCTransferGrid.get_masterTableView().set_virtualItemCount(result.Count);
}
catch (e) {
ShowHideLoadingPanel(
'Hide', MCTransferGrid.ClientID);
}
}
The "LoadNo" is a number that can return 0. When binding I see every non-zero value but, 0 show as blank in the column.
Any thoughts?