| If TypeOf e.CellElement.ColumnInfo Is GridViewDataColumn AndAlso DirectCast(e.CellElement.ColumnInfo, GridViewDataColumn).DataField = "HasComments" Then | |
| If Not (TypeOf e.CellElement.RowElement Is GridHeaderRowElement) Then | |
| 'exclude Header element in the data column | |
| If e.CellElement.Children.Count > 0 Then | |
| If e.CellElement.Children(0).GetType() Is GetType(Telerik.WinControls.UI.RadCheckBoxEditor) Then | |
| ' remove the checkbox | |
| e.CellElement.Children.RemoveAt(0) | |
| Dim pieceid As Integer = CType(e.CellElement.RowElement.RowInfo.Cells("PieceId").Value, Integer) | |
| Dim hasComments As Boolean = ' load has comments | |
| Dim img As RadImageItem = New RadImageItem() | |
| If hasComments Then | |
| img.Image = My.Resources.Resources.green | |
| Else | |
| img.Image = My.Resources.Resources.red | |
| End If | |
| e.CellElement.Children.Add(img) | |
| e.CellElement.Children(0).Alignment = ContentAlignment.MiddleCenter | |
| e.CellElement.Alignment = ContentAlignment.MiddleCenter | |
| End If | |
| End If | |
| End If | |
| End If |
Hi
I am using Telerik.WinControls.UI.RadGridView
node.ToolTipText = "value";
this valu is not used, only with eventhandler _ToolTipTextNeeded, however this value is changed on runtime, and in tooltip I always get the value which I showed first time to user, is it possible to Invalidate cache for this tooltip
thanks
almir
DataColumn colAccure = new DataColumn("DCAccure");
colAccure.DataType = typeof(System.Decimal);
-- int a = DCAccure.Tostring();
a = SQRT(a);// some calculation part like this
--
colAccure.Expression = "( FlatPrice + a)";
dt.Columns.Add(colAccure);
In the above examle i am getting value of DCAccure and need to assign it to local variable a , Not able to assign it and after having certain calculation with a need to add it to column express that is also giving error.
Please provide Solution.
Thanks
Nicky