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 4.5.2.0 and the one I use is 4.6.2.0 ( .. 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."
Source="mscorlib"
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 ..
Any suggestion?