G
Guest
I want to get the parent of the user control.
PortalModuleControl portalModule = (PortalModuleControl) this.Parent;
but i get an error Specific cast is not valid.
and this is my class
public class PortalModuleControl : UserControl {
does anybody have any idea?
Thanks
PortalModuleControl portalModule = (PortalModuleControl) this.Parent;
but i get an error Specific cast is not valid.
and this is my class
public class PortalModuleControl : UserControl {
does anybody have any idea?
Thanks