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 6907873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:29:23+00:00 2026-05-27T08:29:23+00:00

I am facing some problems when page is posted back partially. I have some

  • 0

I am facing some problems when page is posted back partially. I have some radio buttons based on which I am making tr display=”” and display=”none” by javascript. After that I am adding rows gridview. The gridview contains empltyTemplate and footer to add new rows. But when I add row in grid view, the user control is posted back and hence all the tr becomes displa=”none” which is default when page is loaded. I tried to keep gridview in update panel but it not working. Hierarchy of my controls is as below.

Level-1-Master page—>Level-2-master page—>Level 3-.aspx page—>Level 4-user control—>Level-5 -multiple accordians–>Level-6: 1 user control in each accordian..

code is too long to past here.. I tried to keep update panel inside user control(Level 6) but it was not working. After some googling I found that update pane not works if it is inside accrdian. So I tried to keep all accrdian inside update panel but in that case .aspx page is not posted back but all user controls placed inside accrodian are posted back so the selection is set as they are on default load.

I want all selection to retain when the last level user control is posted back.

The situation is quite complex to understand but this is what the things are..How to solve my problem?

  • 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-27T08:29:23+00:00Added an answer on May 27, 2026 at 8:29 am

    Changes made to the DOM from JavaScript are not retained cross-PostBack; the server has no idea what you’ve done, and therefore has no way to track it.

    To solve this, you either need to have your JS code update state on the server side with a Callback or Ajax call — or perhaps have it update a hidden input field in the form that reflects the state of your tags, and have the server look there and update the rendered HTML accordingly.

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

Sidebar

Related Questions

I am doing some processing in a back end page (thread.php) which basically returns
I have a HTML radio button inside a repeater. I'm facing two problems: When
Im facing some problems, I looked around in the forum and didnt find any
I'm trying to deploy an application on Azure but I'm facing some problems. on
I am facing some problem in iPhone application development for Reading PDF. I have
I have some CSS code that hides the cursor on a web page (it
I'm facing some problems using CDATA blocks inside h:outputscripts with MyFaces 2.0... but I
I'm facing some problem when I fetch page content of particular Id. I'm using
I am a new developer. I am facing some problems in my new app.
I am having some problems. Basically I am adding images which are loaded via

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.