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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:21:28+00:00 2026-05-22T15:21:28+00:00

I have 7 textbox and 7 corresponding checkbox if user input in any of

  • 0

I have 7 textbox and 7 corresponding checkbox if user input in any of the text box its particular checkbox should get tick and selected textboxes text will be posted for query by click of a Search button
how to do it..via C#.net? which method or event should i use to check for this condition. Is i have to do it on page_load event with viewstate?
Suggest me what to do thanks in advance…

Searching Filters

 

Title

Description

Category

*

Location

Sources

Keywords

Date From

*
*

Date Upto

*
*

*

 

     

  • 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-22T15:21:29+00:00Added an answer on May 22, 2026 at 3:21 pm

    to detect the input text change, you can do that with the help of JQuery. u should look at http://api.jquery.com/change/ here for .change() method for text inputs.

    EDIT :

    here is an on-the-fly example;

    <html>
    <head>
    <title>JQuery Test</title>
    </head>
    <body>
    
    Name : <input type="text" id="txtName" /> <input type="checkbox" id="chxName" /><br/><br/>
    Surname : <input type="text" id="txtSurname" /> <input type="checkbox" id="chxSurname" /><br/><br/>
    
    <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.1.min.js"></script>
    
    <script type="text/javascript">
    
    $(document).ready(function(){
    
        $('#txtName').change(function(){
    
          var poo = $(this).val();
          var foo = $('#chxName');
          if(poo == 'bar'){
            if(!foo.is(':checked')) {
              foo.attr('checked','checked');
            }
          } else {
            if(foo.is(':checked')) {
              foo.removeAttr('checked');
            }
          }
    
        });
    
    });
    
    </script>
    </body>
    </html>
    

    run this example and enter ‘bar’ inside the first textbox. u will see the first checkbox has been ticked. then enter another word except ‘bar’. u will see the first checkbox has been unticked.

    Also you can consider some of the other jQuery events like keyup, keydown or keypress

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

Sidebar

Related Questions

I will have a text box where user can enter 0-9999 . If the
I have a textbox with default text like Enter Name Once user starts typing
I have a textbox which has the code; <input type=text maxlength=5 size=2 value=1 id=paging_textbox>
I am trying to get the memberid corresponding to text enter into the textbox
I have a textbox whose input is being handled by jQuery. $('input.Search').bind(keyup, updateSearchTextbox); When
I have a textbox with the Text property bound to a dataset column with
I have a textbox and a link button. When I write some text, select
I am having a Search text-box for which I have to implement a search
I have a textbox which is read-only. It is used to take input of
I have the following code to check a checkbox as soon as the user

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.