摘要:
转贴:Why event handlers are triggered twice?
A lot of people call me Mr Event Handlers (ok, that is not 100% correct. Currently I am the only one calling me that, but never mind), but today's article comes from a Friend who we will refer to as Antin.
Antin did some research on why event handlers behaved strangely in publishing sites and emailed me the results. He logged every event that happens when you check-in a file in a publishing site, and logged the thread of each call, along 阅读全文
摘要:
转贴:Sample event handler to set a field as a pr imary key (enforce no duplicates)
Got this as a request from a reader- how to prevent users from adding items with same titles as ones that already exist in the list.
阅读全文