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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:23:11+00:00 2026-06-17T12:23:11+00:00

I trying get some programmatically inserted textboxes (inserted into a gridview) to do a

  • 0

I trying get some programmatically inserted textboxes (inserted into a gridview) to do a textChange partial update. It is sort of working but it does not automatically calls textEntered() method after I typed some text in these textboxes. I got a clue that I might need to use AJAX and things like updatepanels but I just don’t fully understand how they will work in the context of what I am trying to do.

protected void OnRowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (!e.Row.Cells[4].Text.Equals(" ") && firstTime == false)
        {
            TextBox tb = new TextBox();
            tb.Text = e.Row.Cells[4].Text;

            tb.TextChanged += new EventHandler(textEntered);

            textBoxArray.Add(tb);

            int length = textBoxArray.Count - 1;
            tb = (TextBox)textBoxArray[textBoxArray.Count - 1];

            e.Row.Cells[4].Text = null;
            e.Row.Cells[4].Controls.Add(tb);
            Cache["textBoxArray"] = textBoxArray;

        } firstTime = false;
    }


 protected void textEntered(object sender, EventArgs e)
 {
  lbl_test.Text += "test";//This line is for testing purposes
 }
  • 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-06-17T12:23:12+00:00Added an answer on June 17, 2026 at 12:23 pm

    auto postback of textbox is true or false? make it true.

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

Sidebar

Related Questions

Just trying to get some rows out of a database and loop through but
Im trying to get some system information using WMI but the problem is when
I am trying to get some Javascript working in my Rails app. I want
I'm trying to do some proximity detection of iPhones but I need to get
I'm trying to create an Open Office spreadsheet programmatically but for some reason simply
I am trying to get some JavaScript to programmatically adjust a HTML img tag's
I'm trying to reflect over some class properties and set them programmatically, but it
Im trying to get some auto complete to work. I have this URL i
Im trying to get some checkbox with a specific name document.getElementsByName(test); Unfortunatley i cant
I am trying to get some jQuery to disable the confirm button on my

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.