I have examined the code snippets and noticed that DataBind
() is used to populate RadGrid
with data. Note that DataBind
() is used only for simple data binding. As the name implies, this type of binding is suitable only for the most simple scenarios.
It is recommended to use advanced data binding. You can handle the NeedDataSource
event of RadGrid
and set the DataSource
property there. Note that you should not use DataBind()
in this case. Check out the following article that describe the approach in more detail.
In order to subtract the dates you can use the following code:
GridCalculatedColumn gcc =
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items