How would I strip an '&' symbol out of an ESRI dropdown before any of it's default control logic is
- by Carter
I have an ESRI dropdown control inside of an ESRI toolbar. One of the items in the dropdown needs to have an '&' symbol in it. As it turns out ESRI stuff builds it's callback strings as & delimited strings, so when an item is selected the parent toolbar immediately builds and handles the callback string. At one point it splits strings based on the '&' crashing the app.
In effect, having an ampersand in an esri dropdown causes nasty stuff to happen when you select the item.
What I need to do is find out how I can hop in before the callback stuff starts happening and strip that & out. I was thinking that perhaps I'd have to create a custom esri toolbar control, but I'm not sure and that'd be pretty undesirable.
Any ideas?