We have a page with a pair of grids - one containing selected items and one containing items that have not been selected.
We want to allow dragging within the grid of selected items, to allow for reordering, and we want to allow for dragging between the grids to allow items to be selected or unselected.
The complication is that we have a few items that we do not want to be draggable. They should appear at the top of the grid of selected items, and they should stay there. The user should not be able to drag them to another locating in the selected items grid, and the user should be able to drag them to the unselected items grid. In other words, the user should not be able to unselect them or to reorder them.
Any advice as to how accomplish this? There is an invisible GridBoundColumn in the grid called "Fixed" containing "True" or "False". I've tried using this in OnItemDataBound to set item.Enabled = false, and the appropriate rows are appearing greyed out in the grid. But I can still drag the disabled rows.
Any ideas?
We want to allow dragging within the grid of selected items, to allow for reordering, and we want to allow for dragging between the grids to allow items to be selected or unselected.
The complication is that we have a few items that we do not want to be draggable. They should appear at the top of the grid of selected items, and they should stay there. The user should not be able to drag them to another locating in the selected items grid, and the user should be able to drag them to the unselected items grid. In other words, the user should not be able to unselect them or to reorder them.
Any advice as to how accomplish this? There is an invisible GridBoundColumn in the grid called "Fixed" containing "True" or "False". I've tried using this in OnItemDataBound to set item.Enabled = false, and the appropriate rows are appearing greyed out in the grid. But I can still drag the disabled rows.
Any ideas?