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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:43:42+00:00 2026-05-30T16:43:42+00:00

I have an issue working with the telerik radgrid control. I am trying to

  • 0

I have an issue working with the telerik radgrid control. I am trying to use javascript to access a textbox when the grid is in edit mode.

My code looks like the following:

    <telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server" AllowAutomaticDeletes="True"
        AllowSorting="False" AllowAutomaticInserts="True" PageSize="10" AllowAutomaticUpdates="True"
        OnItemDataBound="RadGrid1_ItemDataBound" AllowMultiRowEdit="False" AllowPaging="False"
        DataSourceID="DataSource1" OnItemUpdated="RadGrid1_ItemUpdated" AllowFilteringByColumn="False"
        OnItemDeleted="RadGrid1_ItemDeleted" OnItemInserted="RadGrid1_ItemInserted" AutoGenerateColumns="false"
        OnDataBound="RadGrid1_DataBound">
        <PagerStyle Mode="NextPrevAndNumeric" />
        <MasterTableView Width="100%" CommandItemDisplay="TopAndBottom" DataKeyNames="Id"
            DataSourceID="DataSource1" HorizontalAlign="NotSet" EditMode="EditForms">
            <Columns>
                <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                    <ItemStyle CssClass="MyImageButton" />
                </telerik:GridEditCommandColumn>
                <telerik:GridButtonColumn ConfirmText="Delete this product?" ConfirmDialogType="RadWindow"
                    ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete"
                    UniqueName="DeleteColumn">
                    <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" />
                </telerik:GridButtonColumn>
                <telerik:GridBoundColumn DataField="Id" HeaderText="Id" Display="false" ReadOnly="true" />
                <telerik:GridBoundColumn DataField="Manufacturer" HeaderText="Manufacturer" />
                <telerik:GridBoundColumn DataField="Description" HeaderText="Description" />
                <telerik:GridBoundColumn DataField="Configuration" HeaderText="Configuration" />
                <telerik:GridDropDownColumn DataField="TypeId" HeaderText="Type" UniqueName="PartsType"
                    DataSourceID="PartsTypeDataSource" ListTextField="Name" ListValueField="Id" />

What I am after is that, during edit mode, when the user selects a certain value from the dropdown list ‘PartsType’, one of the other fields – eg ‘Manufacturer’ will be shown/hide.

I could get the dropdown value (in javascript) by attaching a javascript function to the dropdownlist:

function PartsTypeIndexChanged(sender, args) {
    var selectedValue = args.get_item()._text;

}

I just dont know which method to use to get the ‘Manufacturer’ field, so I can show/hide it.

Could anyone please help?

Many thanks.

  • 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-30T16:43:43+00:00Added an answer on May 30, 2026 at 4:43 pm

    A possible approach could be to use RadControls client-side static API

    $telerik.findElement(gridDOMElement, "Manufacturer");
    

    This will help you access the column editor – I suppose it is ASP.NET TextBox rendered as input. For numeric or date columns the editor will probably be Telerik client component so you have to use findControl instead of findElement.

    More info here:
    http://www.telerik.com/help/aspnet-ajax/telerik-static-client-library.html

    Good luck

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

Sidebar

Related Questions

I’m trying to issue web requests asynchronously. I have my code working fine except
I have an issue with Mozilla, i use this client side JavaScript code in
I'm working with Telerik's MVC Tabstrip control and am having an issue, although I
I have a weird issue working with the Javascript Regexp.exec function. When calling multiple
I am working on some ASP.NET Server Control, and I have an issue. Maybe
While working with ASP.NET using Visual Studio (2008) I have discomfort issue: source code
I have an issue working with Microsoft.Build.BuildEngine which supposed to get fixed modifing my
I am working on an application an have an issue about running shell command
My problem/issue We are working on an opensource project which we have hosted on
I have been working on a json decode issue (which I have already had

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.