I have a situation where I need to only allow the selection of items in a RadTreeList that the user is authorized to select. I looped through the data and disabled all the dataitems that the user wasn't authorized to access and I thought everything was working fine until I clicked the checkbox in the header that is used to select all items.
Apparently, it's still marking all the "rows" as selected even though they are disabled. I'm pretty sure this checkbox is javascript driven and I was able to capture the click via one of the client-side events, but I cannot find documented anywhere a javascript method/property that will allow me to determine if the item is enabled or not. That way, I could just undo the selection.
This was fairly straightforward with a treeview control (which I cannot use for this particular data) because it had properties (eg get_enabled) that was accessible for that control, but doesn't appear to be available for RadTreeList
Any suggestions? I need a solution quick because this is being raised as a stop-ship defect
Apparently, it's still marking all the "rows" as selected even though they are disabled. I'm pretty sure this checkbox is javascript driven and I was able to capture the click via one of the client-side events, but I cannot find documented anywhere a javascript method/property that will allow me to determine if the item is enabled or not. That way, I could just undo the selection.
This was fairly straightforward with a treeview control (which I cannot use for this particular data) because it had properties (eg get_enabled) that was accessible for that control, but doesn't appear to be available for RadTreeList
Any suggestions? I need a solution quick because this is being raised as a stop-ship defect