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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:10:30+00:00 2026-05-27T20:10:30+00:00

I have some values that post back to a parent form from a child

  • 0

I have some values that post back to a parent form from a child form and fire this method

function OnClientClose(oWnd, args) {
    //get the transferred arguments
    var arg = args.get_argument();
    if (arg) {
        var agreementId = $find("<%= rtxtAgreementId.ClientID %>");
        var legacyReinsurerId = $find("<%= rtxtlegacyReinsurerId.ClientID %>");

        agreementId.set_value(arg.ReinsuranceAgreementId);
        legacyReinsurerId.set_value(arg.LegacyReinsurerId);
        $("<%= chkCommutationFlag.ClientID %>").prop("checked", Boolean(arg.CommutationFlag));
    }
};

all arguments have the proper values including Boolean(arg.CommutationFlag) as I tested this by displaying the value in a textbox, but my checkbox display value does not change. I have tried various methods to set the checkbox value and they all process without throwing an error but the checkbox remains unchecked. What am I missing?

  • 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-27T20:10:31+00:00Added an answer on May 27, 2026 at 8:10 pm

    Start by checking if you are actually hitting the target, replace prop with some mundane css instead to see if the checkbox changes apperance.
    If it does’nt your ID is wrong, and remember that you need # before the ID.
    If it does change, replace your boolean with the actual word “true”, if that fixes it your boolean is wrong, and it’s probably one or the other.

    Just to make sure you could place an alert right above your checkbox code to see that your script is getting that far, but if the console shows no errors, and if the css approach works, that’s not it.

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

Sidebar

Related Questions

I have the problem, that MSSQL Server 2000 should select some distinct values from
I have some jQuery that looks like this: $.ajax({ type: POST, url: /Customer/CancelSubscription/<%= Model.Customer.Id
In my C++ application, I have some values that act as codes to represent
I have some code that produces a set of primary key values that I
I have some code that sets up a dictionary with some defualt values for
I have some code that prints out databse values into a repeater control on
I have about 10million values that I need to put in some type of
I have a simple class that essentially just holds some values. I have overridden
I have some code that looks like this: someFunc(value) { switch(value){ case 1: case
I have table with some fields that the value will be 1 0. This

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.