Hi Kishan,
I tried to execute your example. But I'd like to sum the 2 field and I'd like to avoid an error if one of the 2 fields is empty.
So I modified the code as following:
<telerik:GridCalculatedColumn HeaderText="Total Price" DataFields="TotalShares, MarketValue"
Expression="(({0} == null) ? 0 : {0}) + (({1} == null) ? 0 : {1})" />
But when run the code I have this error on RadGrid1.DataBind() :
"Syntax error: Missing operand before '=' operator."
I don't know hot to solve this problem.
Someone can help me?
Thanks