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

expression 2 as result of expression1

1 Answer 20 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Joe Bohen
Top achievements
Rank 1
Joe Bohen asked on 18 Oct 2009, 08:54 PM

Hi
I have a radgridview which has a column whose value is set by an expression:

Me.StockGrid.Columns("Total").Expression = "(Qty) *" & CInt(Me.radtextbox1.Text)

I want to use the result of the expression to populate another column in the same grid.

Me.StockGrid.Columns("req").Expression = "(Total – Available)”

 

The result is always  nothing although the total column value calculated by the first expression has a value and available has a value. Is this type of calculation valid?

Regards
joe

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 21 Oct 2009, 10:47 AM
Hello Joe Bohen,

Yes, your expression is valid, but RadGridView does not support it currently. We are changing RadGridView data engine at the moment and we are implementing columns value calculations based on other calculated columns. This new functionality will be available in Q3 2009 which is scheduled for beginning of the next month.

Best wishes,
Julian Benkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Joe Bohen
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or