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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:21:49+00:00 2026-06-05T23:21:49+00:00

I am using RadGrid . In its Insert Mode.I have RadTextBox and Label .

  • 0

I am using RadGrid.

In its Insert Mode.I have RadTextBox and Label.
So all I want to do is when I write into RadTextBox and Lost Focus of it. A function should be called upon that and that function retrieves data from database and assign it to Label inside that Insert Mode.

So I’m not able to access controls inside the Insert Mode.
How should I call a function on textchange event of RadTextBox and how do I access Label inside that Insert Mode and fetch some data and assign to it?

  • 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-05T23:21:50+00:00Added an answer on June 5, 2026 at 11:21 pm

    Please check below code snippet.
    Please add Jquery reference in your in project/page.

    .js

      function ValueChanged(sender, eventArgs) {
    
                var newvalueoftextbox = eventArgs.get_newValue();
    
                var id = sender.get_id();
                id = id.replace("RadTextBox1", "Label1");
                var Label1 = $get(id);
                // your logic come here - get value from DB
                Label1.innerHTML = "Your Value";
            }
    

    .aspx

     <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" AllowCustomPaging="True"
            OnNeedDataSource="RadGrid1_NeedDataSource" GridLines="None" ShowGroupPanel="True"
            OnItemDataBound="RadGrid1_ItemDataBound">
            <MasterTableView CommandItemDisplay="Top">
                <Columns>
                    <telerik:GridBoundColumn DataField="Name" UniqueName="Name" HeaderText="Name">
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn>
                        <EditItemTemplate>
                            <telerik:RadTextBox ID="RadTextBox1" runat="server">
                            <ClientEvents OnValueChanged="ValueChanged" />
                            </telerik:RadTextBox>
                            <asp:Label ID="Label1" runat="server"></asp:Label>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>
                    <telerik:GridEditCommandColumn>
                    </telerik:GridEditCommandColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
    

    .aspx.cs

    protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
    {
        dynamic data = new[] {
                new { ID = 1, Name ="Name_1"},
                new { ID = 2, Name = "Name2"},
                new { ID = 3, Name = "Name3"},
                new { ID = 4, Name = "Name4"},
                new { ID = 5, Name = "Name5"}
            };
        RadGrid1.DataSource = data;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a telerik radgrid that is doing an insert using an objectdatasource. The
I am using RadGrid And I have LinkButton in its ItemTemplate. Onclick of this
I'm using the telerik radgrid export to .PDF function and am getting all kind
Using Nunit, I want to be able to write a test fixture that will
Using C# for ASP.NET and MOSS development, we often have to embed JavaScript into
Using VS2008, and Telerik radGrid version 2010.1.519.35 I have a about 50 DNN modules
I am rebinding a Hierarchical radgrid after closing a custom edit/insert form using the
I have a class that defines a Hierarchical RadGrid that I will be using
I have radGrid in .ascx page in which I want to find the control
Iam using a telerik RadGrid and I want to check if GridDataItem is in

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.