Hi,
I'd like to add a javascript function to the links of the menu items, for the onClick event. The problem is I cannot find the the appropriate controls in the control hierarchy. Here is what I've done so far :
I'd like to add a javascript function to the links of the menu items, for the onClick event. The problem is I cannot find the the appropriate controls in the control hierarchy. Here is what I've done so far :
private
void myFunction(GridFilteringItem item)
{
foreach (TableCell cell in item.Cells)
{
foreach (Control c in cell.Controls)
{
if (c is GridFilterMenu)
{
GridFilterMenu gridFilterMenu = c as GridFilterMenu;
// Find the links in the gridFilterMenu
// Add javascript to the onClick event
}
}
}
}
Using the debugger, I found out that the GridFilterMenu is not contained in the cell. Where should I look for it?
Thank you very much!
M.