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

  • Home
  • SEARCH
  • 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 410333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:52:41+00:00 2026-05-12T17:52:41+00:00

I have two web parts that communicate. The provider can not give a value(an

  • 0

I have two web parts that communicate. The provider can not give a value(an RID) to the consumer until at least the provider’s Page_Load event. So the consumer can not know the RID it needs until after Page_Load. So, I hooked into Page_LoadComplete. Now there is a problem. The consumer creates dynamic controls based on this RID.

Now. These dynamic created controls are created after Page_Load. So, their viewstate is not restored(dynamic controls created inside Page_Load do have their values restored though).

So, basically what I need is a way to either restore viewstate to a control manually, or to get the control’s value from a POST variable or the equivalent in C#..

Also, if I could get the value of a control at Page_Init, that would work too.

  • 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-12T17:52:42+00:00Added an answer on May 12, 2026 at 5:52 pm

    All information returned from a post in in the Request.Form key/values pairs. If you check there and search for the control id in the keys, you can get the value without looking through the view state.

    You’ll probably have to look through each key and search for the which key contains the control name, because the key will be the Client ID and not the ID you specified.

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

Sidebar

Related Questions

I am developing a web app that will have two parts running on two
I have a web application that, like usual, is divided in two parts: server-side
I have a web service that requires a two part query to fully get
I have two web applications that are running on a single Tomcat server and
I have Web page in share-point 2010 ,its has two web parts one for
I have a desktop C# app that I want to split into two parts
I have created a visual web part that combines two other previously created web
I have two web parts: Web Part A Web Part B I have two
We are developing a web game that uses WebGL for the two biggest parts
I have an application that consists of three parts: a front-end web shop for

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.