i am trying to create a filtration method where when a cell a combobox will apear for filtring with that column...i just want to get the column name after clicking on the cell? is it possible
You can try the following code snippet to access the column name on the client side when clicking the header of RadGrid.
JavaScript:
<script type="text/javascript" >
function OnColumnClick(sender, eventArgs)
{
alert("Click on column-header: " + eventArgs.get_gridColumn().get_uniqueName());
}
</script>
If you want to get the column name when clicking the grid cells, then you can try attaching OnClick event for each column and pass the column name as a parameter to client side function. See the example below.
CS: