Some times we need to Call a Parent Page Function in User Control .
It Can Easily done using Reflection .
this.Page.GetType().InvokeMember("MethodName", System.Reflection.BindingFlags.InvokeMethod, null, this.Page, null);
Just give Name of your Parent Page Function at the Place of MethodName.
No comments:
Post a Comment