Just as the subject asks.
EDIT 1
Maybe it's possible sometime while the request is being processed to store a reference to the parent page in the user control?
Use event and delegate concept make delegate as same signature as your method in parent page and then assign parent methad to it in parent page load event then call this delegate through event in user control. code sample and link is given below. Show activity on this post.
Answers. In your user control code behind (C#) you can use... HiddenField hf = (HiddenField)Parent.
this.Page
or from just about anywhere:
Page page = HttpContext.Current.Handler as Page
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With