Hi, I'm trying to understand this sample. So far so good ....it seems not too difficult, rather straight forward ... however. Runtime versions of the RadControl in this sample and what the one I use are the same, however the version of this sample is 18.104.22.168 and the one I use is 22.214.171.124 ( .. a little bit newer isn't it? could this be the problem, I can hardly believe that ..).
The problem which I cannot solve is that according to the sample part:
CType(dataItem.FindControl("lblTotal"), Label).Text = (Double.Parse(dataItem("Amount").Text)).ToString()
The ''Amount'' is the UniqueName of the GridTemplateColumn and in the Datafield is loaded myObject.Amount (type double)
I cannot solve the error saying:
System.FormatException was unhandled by user code
Message=(however translated) "The order of input characters is not correct."
without trying to calculate the total amount the grid is shown fine with several amounts (with decimal numbers as well) ... I tried also to add a second argument (globalization.numberstyles.allowdecimalPoint) but it did not solve anything ..