Control not binding to a custom property


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I have a control that implements IBusinessBinding (a wrapper around TxTextControl). All works well until I obfuscate the dlls. Then I get an error that the control can't be bound and it asks if there is a field descriptor for the custom property. Well, there is and it isn't obfuscated, nothing in the BO is obfuscated (I'm not obfuscating my BOs at all). The control is obfuscated though.



I don't know enough about how all this binding stuff works to know what to look for (other than the field descriptor....which isn't obfuscated). What might be going wrong?



Thanks!



Replies
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Well, your sneaky plan worked (the one were you put off replying to the post, cause you figure I'll find an answer in the mean time) Wink



I was obfuscating the properties on the control that I was binding to. The property that is bound is stored as text, so after obfuscation, the property name changed and boom. I marked those properties that might be used for binding to not be obfuscated and it works BigGrin
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Yeah, obfuscation is a great tool...but sometimes = problems to work through BigGrin
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search