London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
We're having problems sometimes when we try to add an attribute to a LinkItem.Attributes. We have a LinkItemCollection that we're iterating through, for each LinkItem we're adding an attribute like this:
For some reason, the line linkItem.Attributes.Add("target", "_blank") sometimes crashes. This happens very very rarely. I've seen it only a couple of times during a year or so. And it's always the second time we're adding an attribute the exception happens.
Anyone know why this can happen? Or how to prevent this from happening?
See stacktrace below.