I thought
this would be a simple task. So, apparently I'm either missing something or it
is not so easy.
I would like
to utilize the filter menu not to filter existing data, but rather as a means to select a value to populate all the
cells of that column.
I can do this
easily with separate dropdownlists positioned above the grid header. But to me,
this looks clunky so I want to utilize the filter menu.
I have
several columns that require the same functionality.
I.e the cells
are initially empty or set to some other value. I would like to fill them with
the value selected in the filter. In one case, the cells are actually
dropdownlists. Neither the filter menu items nor the column values are data
bound.
I created a
custom filter with custom filter menu items. I simply want to determine for which
column the filter was selected so I can then perform the code which fills in
the cells with the selected value.
In the
Page_Init() I create the custom menu items and add an .ItemClick handler.
When I select
an item from the filter menu the ItemClick is fires as expected.
I can get the
selected value from e.Item.Value from the RadMenuEventArgs
e paremeter. However, I’ve searched for an hour and I can’t find anywhere in the
RadMenuEventArgs e or object sender parameter to determine from which column the ItemClick was fired.