Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling method in MDI form
Message
From
15/05/2003 14:24:57
Ben Alicea
B.A. Software & Consulting, Inc
Oldsmar, Florida, United States
 
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00788597
Message ID:
00788908
Views:
43
Jayesh,

Thanks for your reply.

I tried the code you suggested, but I could not get it work.

When I tried to call the public method in the form, the code would not compile.

Here is the line I tried

Form oForm = this.ActiveMDIChild;
oForm.RunQuery();

The compiler came back with 'System.Windows.Forms.Form' does not contain a definition for 'RunQuery'

I replaced "Form" with "View" (which is the form that has the method RunQuery) and the compiler came back with "Cannot implicitly convert type 'System.Windows.Forms.Form' to 'QueryView.View'"

Any suggestions will be greatly appreciated.

Thanks

Ben Alicea
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform