Hey - I'm hoping you guys can help me out again. I'm looking to create a custom Column Definition that has a UIButton inside it. I can pull it off, but when I add an event handler to the button that is being created I get an app crash. I've done some research on it and it has to do with the bridgeConnector or something along those lines. I was wondering if you guys had an example of how to pull this off? Each row in the grid should have a button column, reference the row that was clicked and well just display an alert with the row index or something on TouchUpInside.
Let me know if this does not make any sense or if you need more information.
This is the exception I get after the event hander is added and it is on my main.cs.
MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[NSConcreteValue BridgeSelector]: unrecognized selector sent to instance 0x7cea8070 at at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:38 at FU.Application.Main (System.String[] args) [0x00012] in /Users/TonyVlahovic/Projects/iPad/ContainerTest/Main.cs:21