Itemupdating called twice

In detail, I have a list which has an Item Updated Event Receiver (Custom one, which developed by the developer).On the event receiver, we are trying to update some of the columns based on the entered column value.To avoid this, we can disable the event firing before updating the List Item on the Event Receiver.After completing our updates, we need to toggle back the property. Remember, there’s a script file in the control that should open automatically (if it doesn’t, click the gray arrow on the upper-right corner of the control or right-click the control and choose Show Smart Tag), check all the available check boxes, shown in Figure 13-4. The links in the left column enable you to edit, delete, and select the relevant genres. If you don’t see the Planet Wrox database listed here or you get an error, refer to the preceding chapter, which explains how to set up the database. Note: The Flex implementations of ICollection View retrieve all items from a remote location before executing the filter function.If you use paging, apply the filter to the remote collection before you retrieve the data.

One of the problems I had with list event handlers was event recursion. I wanted to check some values, and then set a value in a field based on a set of rules.

If sort is unsupported an error will be thrown when accessing this property.

Note: The Flex implementations of ICollection View retrieve all items from a remote location before executing a sort.

i.e., based on Column1, I am calculating the value for the Column2 and update the list item on the Event Receiver.

In that case, what happens is, again and again, the Event Receiver triggers as ends up with a bottle neck.

378

Leave a Reply