I have a three level hierarchical grid bound to an object data source. I can add, edit and delete rows in each level/band successfully.
However I need to perform some validation on the delete operation, which requires a postback. The RowDeleting server event is working, but its only being fired for rows in the root band? rows in the child bands are deleted successfully, but the server event isn't working?
Have I missed a setting or is it something else?
My workaround will be to have client events that perform manual page methods to do the same thing. Using the RowDeleting event for all three bands would be *much* simpler...sigh.
Hi,
What build are you using? I checked just now with our release candidate for 10.2 and the server event seems to fire correctly for me. If you have an RTM version, I would suggest upgrading to the latest Service Release. You could also attach your aspx here to have a look at.
regards,David Young
I'm using the most recent patch: 10.1.2051
Is there a property that should be set to ensure these events fire for child rows, or is it just implicit ?
Hey pfalcon,
So I finally got time to look at this. This clears it up. The difference between your sample and mine is that you define the behavior on every level. I had simply defined it on the top level with enable inheritance set to true on the editing core and row deleting. This causes the server events and other properties to be copied to the behaviors on the child grids. If you define it separately, you will have to manually add the server event to the child grid when it is created. I found doing it inside of row island data binding works. Let me know if you have trouble with that.
-Dave
Attached. Its a very complex form (and I have a lot more javasript work to do to get the interaction whee the client wants it). If you have a simple example of the grid firignt he event at all levels it might be simpler for me to look at that and se what properties I'm missing.
I just installed version 10.1.2051. I see the server events for row deleting firing in all bands. Could you attach your page here to take a look at?
thanks,
Dave