or
Private
Sub
AddTab(
ByVal
tabName
As
String
)
Dim
tab
As
RadTab =
New
RadTab
tab.Text = tabName
radTabStrip.Tabs.Add(tab)
Dim
pageView
As
RadPageView =
New
RadPageView
pageView.ID = tabName
'pageView.
RadMultiPage.PageViews.Add(pageView)
radTabStrip.SelectedIndex = tab.Index
radTabStrip.DataBind()
End
Sub
I have a numeric column in a grid that receives numbers from a datatable. The cell is conditionally formatted during OnItemDataBound to change color depending on the how larger the number in the cell is.
I would like to format the number in the column regardless of how larger it is so that it displays , thousands separator. However, when I use a DataFormatString (either in code or via a PreRender method) an exception is thrown because the number no long matches (1000 vs 1,000).
How can I properly format the data in the column while allowing it to be conditionally formated?