Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 823981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:01:50+00:00 2026-05-15T03:01:50+00:00

How to get the parent page values from the usercontrol. I have a usercontrol

  • 0

How to get the parent page values from the usercontrol.
I have a usercontrol in a page. On click of the usercontrols button i wanna get some values from the page after executing a method. i need those values in my usercontrol. What is the best way to get the results of the page in the usercontrol.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T03:01:50+00:00Added an answer on May 15, 2026 at 3:01 am

    Raw way:
    First access Page property:

    http://msdn.microsoft.com/en-us/library/system.web.ui.control.page.aspx

    Next You can cast Page property to Your page type (whatever it is) or You can use Page.FindControl method to find Page values from other controls.

    http://msdn.microsoft.com/en-us/library/31hxzsdw.aspx

    In nice way, user control should expose event fired when this button has been clicked and page should subscribe to this event and return data to control.

    Is this what You are looking for?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page (parent) that when a button (with .click funciton) is clicked
I have a form submit, where it get the values from the form and
I have problem calling a JavaScript function in an iframe from the parent page.
I have two pages, the parent and from this page I am using: window.open('OrderDetailsFull.aspx?ObjectID='
Basically I am trying to get the gallery of parent page, and I've been
I was looking a lot for method to get parent process in .NET, but
I have a gridview and and I am creating it dynamically, I get parent
How I can get name of parent activity in child activity. I have two
I have a rather interesting problem. I have a parent page that will create
I want to get a list of values, After I get one value I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.