This is a migrated thread and some comments may be shown as answers.

[Solved] GridView with RadNumericUpDowns Issue

0 Answers 118 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sanjay
Top achievements
Rank 1
Sanjay asked on 19 Jul 2011, 02:59 PM
Hi
I am using telerik grid , there is a column in that grid with cellTemplate having two RadNumericUpDowns controls in it. One is for absolute value and another one is for percentage value. At a time, only one RadNumericUpDown control would be enabled either absolute or percentage based on some flag. If absolute RadNumericUpDown is enabled, Percentage would be calculated in percentage RadNumericUpDown based on absolute value and if  percentage RadNumericUpDown  is enabled, then value of absolute RadNumericUpdown would be calculated from percentage value.
I have following queries in this implementation
1.  How can i enable/disable one RadNumericUpDown control inside the column celltemplate.
2.  How can i convert the absolute to percentage value(using some base value i.e. 100 ) or vice versa? Can i use multi value converter in this case, is it possible in silverlight.
3. I need to bind this grid to datacontext , both absolute and percentage value would be binded to some property inside datacontext class. How can i bind calculated absolute or percenatge value to some property inside datacontext class because this value would  be calculated using converter . Is it possible to bind the property of datacontext class while using converter. I need to do this becoz i have to get this data form grid and send it to another component.

Any help would be highly appreciated.






Tags
GridView
Asked by
Sanjay
Top achievements
Rank 1
Share this question
or