J
JM
Hi all,
I have developed a windows form user-control that I plan to use in a
web-page (with the <object> tag).
I works well and I can get/set standard properties (e.g. 'Text') and custom
properties of the control in javascript from the web-page client side, but I
can't figure how to expose a custom method to javascript. Of course I can
declare a property that triggers a call to a method to do the job, but I was
wondering if there's a cleaner way?
Thanx.
JM.
I have developed a windows form user-control that I plan to use in a
web-page (with the <object> tag).
I works well and I can get/set standard properties (e.g. 'Text') and custom
properties of the control in javascript from the web-page client side, but I
can't figure how to expose a custom method to javascript. Of course I can
declare a property that triggers a call to a method to do the job, but I was
wondering if there's a cleaner way?
Thanx.
JM.