Friends, I have an existing component (SAY COMP A) created in VB.NET which exposes some methods. I have created a component (SAY COMP B) which has a method (This is the method which has AJAX attribute and will get called from JavaScript) which in turn is going to call the method from existing component (COMP A). But in doing this, I am getting an error saying "object reference not set...." In the place where I invoke the method from COMP A. FYI, I am doing the object declaration for COMP A in the InitializeComponent method and I believe that is not getting invoked and hence it is nothing & throwing me the error.
But, If I write a simple code which hits the database and retrieves the value, it is working fine with no issues. The problem is only when I try to access the methods which resides in some other components. Could anyone throw some lights on this issue? (Note: I am using AJAX.DLL with .NET framework 1.1) Regards Mani --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info/ Don't forget to read my blog at http://weblogs.asp.net/mschwarz/ The open source project is now located at http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro -~----------~----~----~----~------~----~------~--~---
