Object type conversion error
Hi,
I am trying to convert OpenSpan.ExpressTranslators.TranslatorObject type into OpenSpan.Adapters.Controls.Button type. But at runtime it showing exception as unable to convert. There is no exception at type casting syntax. Bot throwing exception at runtime.
Exception Type: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException Message: "Cannot convert type 'OpenSpan.ExpressTranslators.TranslatorObject' to 'OpenSpan.Adapters.Controls.Button'"
Please let me if any one having some suggestions on this.
Thank you.
Regards,
Raja Gosamsetti