G
Guest
Greetings
I've got this parent window which opens a child window, once the child window closes it refreshes the parent window. there is a panel control in the parent window which i'm using to hide some controls in there. what i'm trying to archive here is once the close button in the child window in fired up, i want it to handle the event in the parent window. below are my codes, hope you can help me
Dim objPanel As New GATTA.InstanceMgmt ' GATTA is the prj name and InstanceMgmt is the class name. the parent clas
objPanel.pnlDistributor.Visible = True
i keep getting this error..
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object
Source Error:
Line 49: 'Successful save and its time to show the hidden controls
Line 50: Dim objPanel As New DATTApp.InstanceMgm
Line 51: objPanel.pnlDistributor.Visible = Tru
Line 52:
I've got this parent window which opens a child window, once the child window closes it refreshes the parent window. there is a panel control in the parent window which i'm using to hide some controls in there. what i'm trying to archive here is once the close button in the child window in fired up, i want it to handle the event in the parent window. below are my codes, hope you can help me
Dim objPanel As New GATTA.InstanceMgmt ' GATTA is the prj name and InstanceMgmt is the class name. the parent clas
objPanel.pnlDistributor.Visible = True
i keep getting this error..
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object
Source Error:
Line 49: 'Successful save and its time to show the hidden controls
Line 50: Dim objPanel As New DATTApp.InstanceMgm
Line 51: objPanel.pnlDistributor.Visible = Tru
Line 52: