Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / December 2004

Tip: Looking for answers? Try searching our database.

Can I dynamically unbind and rebind event handlers?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
G. Tarazi - 10 Dec 2004 15:41 GMT
Hi



I guess this is possible using .NET C# reflection, but I was want to make sure that it will not break anything.



I have a C# IP form, multiple event handlers, bind to the xml using attributes, if I remove these attributes at run time, perform some changes on the dom, and then add them again, will this brake anything internal, or it will just work fine?



Is it also possible :-)



Thanks
G. Tarazi - 11 Dec 2004 14:43 GMT
Actually I just solved my problem without reflection, by changing the code, and after some test I think it is not possible to add the InfoPath C# attributes at run time in .NET 1.1 (not a 100% sure of that), but that will be possible in .NET 2.0 (since they support edit and continue)

 Hi

 

 I guess this is possible using .NET C# reflection, but I was want to make sure that it will not break anything.

 

 I have a C# IP form, multiple event handlers, bind to the xml using attributes, if I remove these attributes at run time, perform some changes on the dom, and then add them again, will this brake anything internal, or it will just work fine?

 

 Is it also possible :-)

 

 Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.