Hi - I've been searching for a way to do this but haven't found the "correct" way.
I have a RadGrid - on it are multiple RadNumericTextBox columns - one of those columns is txtQTY.
In the save form logic I need to get the value of that column from each of the records in the rad grid to build a table of values to pass to the database. All that worked fine back in VS 2003. I did the following back then:
x = ((RadNumericTextBox)(this.raddgActivityGroup.Items[i]).FindControl("txtQTY")).Value;
But in this version VS 2013 and newest telerik AJAX controls - I get the following problem:
Error 271 Cannot implicitly convert type 'double?' to 'double'. An explicit conversion exists (are you missing a cast?)
I can get rid of the problem by changing the line to read:
x = ((RadNumericTextBox)(this.raddgActivityGroup.Items[i]).FindControl("txtQTY")).Value.Value;
but I have no idea why that works and am very concerned that I might be breaking something.