Hi,
I tried searching the forum and found a couple of threads, but they didn't help. I have a RadGrid that has another RadGrid nested which also has another nested RadGrid. So there are 3 levels: Level 1 has information about a costumer, level 2 has information about customer´s purchases, and level 3 has info about products that the costumer has bought during the purchase.
I have a GridClientSelectColumn (and the AllowRowSelect="True" in <ClientSettings>) on the level 2 (the purchases). I can access the selected purchase by iterating trough all items in the whole radgrid and checking which item has its Selected set to true.
My problem is I cannot figure out how to make it so that only one purhase (level 2 item) could be selected in the whole grid. Right now I can select one purchase per each customer, which is not at all what I want. I guess I should somehow always unselect the previous selection just before selecting the new one.
I tried to subscribe to SelectedIndexChanged of the nested radgrid, but it doesn´t seem to fire. Which event should I use?
I also found out that this could done with some client side javascript trick, but I am not sure how to do it. Also I would like to do this on the server side if possible...
So what is the "official" way to achieve this "select only one row among nested radgrids" -scenario?
I tried searching the forum and found a couple of threads, but they didn't help. I have a RadGrid that has another RadGrid nested which also has another nested RadGrid. So there are 3 levels: Level 1 has information about a costumer, level 2 has information about customer´s purchases, and level 3 has info about products that the costumer has bought during the purchase.
I have a GridClientSelectColumn (and the AllowRowSelect="True" in <ClientSettings>) on the level 2 (the purchases). I can access the selected purchase by iterating trough all items in the whole radgrid and checking which item has its Selected set to true.
My problem is I cannot figure out how to make it so that only one purhase (level 2 item) could be selected in the whole grid. Right now I can select one purchase per each customer, which is not at all what I want. I guess I should somehow always unselect the previous selection just before selecting the new one.
I tried to subscribe to SelectedIndexChanged of the nested radgrid, but it doesn´t seem to fire. Which event should I use?
I also found out that this could done with some client side javascript trick, but I am not sure how to do it. Also I would like to do this on the server side if possible...
So what is the "official" way to achieve this "select only one row among nested radgrids" -scenario?