Hi,
I'm binding a grid to a collection where one of the properties is of type 'Color'.
I want to validate the selected color, as only a subset of colors are allowed.
The validating event fires twice after changing the value of 'Color col' cell. And hence my msg box is shown twice. Any way around this?
private void StatusRadGridView_CellValidating(object sender, CellValidatingEventArgs e){ if (e.ActiveEditor != null && e.ActiveEditor is GridColorPickerEditor) { Color c = (Color)e.Value; if(!AllowedColors.Exists(o=>o.Name == c.Name)) { e.Cancel = true; RadMessageBox.Show(errorMsg); } }}
I want to insert column which index what i want.
so.. i Collocate control and I init first column and rows.
i success to insert column in runtime
but it is'nt editable..
I can edit when use Add(String) method ...
what is difference between?
I doubt columnItem's property.(Inheritanced GridViewDataColumn)
- code
int index =radGridView1.SelectedCells[0].ColumnInfo.Index;
columnItem item=new columnItem();
radGridView1.Columns.Insert(index,item);
Please advise.
excute immature english.

I have a GridView with some bound data. I have an unbound checkbox on the first column... This checkbox simply acts as a marker for further processing... eg on all checked rows, data is saved when a button is pressed...
On change of each checkbox I need to run some validation... which I won't go into here...So I use the event MyGridView_ValueChanged(object sender, EventArgs e).
From this event I use the following code to go through each row and find all the checked checkboxes...
foreach(GridViewRowInfo gvri in MyGridView.Rows)
{
if (Convert.ToBoolean(gvri.Cells["chkSelected"].Value) == true)
{
// Happy Days
}
}
Even though checking this checkbox fires the ValueChanged event, when this code is run, there are no values that return true for the checkboxes. If I select another checkbox, the first one now appears as true, but the one I just selected remains false... Why does this not show the changed value in the grid? Also can you advise if this is possible using any other events / properties?
Thanks
Hi,
We are building a pivot table using Telerik to display figure for different dimension. But my client also require the pivot table to able to select one of the cell (figure) and show the records related to that figure:
For example
Jan 2016
Type A 10
Type B 8
The requirement is to click the figure 10 and somewhere show the 10 records which fits the criteria Jan 2016 and Type A.
Is there anyway to do so?
Thanks



