Click here to Skip to main content
13,347,671 members (51,957 online)
Rate this:
Please Sign up or sign in to vote.
i Have this RadGrid, its working fine. most of the columns are readonly,

but the remaining column which is not readonly, i want it to be editable all the time, so i can click on it and start writing my new value in it. (its happening)

but i do not know how to extract those values from those field, i tried creating OntextChanged event so i can get the values but not happening, event isn't firing.

so How can i get the values from it?

<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"

            AllowSorting="True" AutoGenerateColumns="False" AutoGenerateEditColumn="True"

            CellSpacing="0" GridLines="None" Skin="Sunset"

            OnUpdateCommand="RadGrid1_UpdateCommand" OnEditCommand="RadGrid1_EditCommand" OnItemCommand="RadGrid1_ItemCommand"

            AllowMultiRowEdit="True"  EnableViewState="False" OnNeedDataSource="HandlerGridOnNeedDataSource"


        <clientsettings allowcolumnsreorder="True" reordercolumnsonclient="True">
            <Selecting AllowRowSelect="True" />
        <mastertableview EditMode="InPlace">
            <commanditemsettings exporttopdftext="Export to PDF" />
            <rowindicatorcolumn filtercontrolalttext="Filter RowIndicator column">
                <HeaderStyle Width="20px" />
            <expandcollapsecolumn filtercontrolalttext="Filter ExpandColumn column">
                <HeaderStyle Width="20px" />

                <telerik:GridBoundColumn DataField="itemLineNo"

                    FilterControlAltText="Filter column column" HeaderText="Line No"

                    ReadOnly="True" UniqueName="column">
                <telerik:GridBoundColumn DataField="itemName"

                    FilterControlAltText="Filter column1 column" HeaderText="Name" ReadOnly="True"

                <telerik:GridBoundColumn DataField="itemPartNo"

                    FilterControlAltText="Filter column2 column" HeaderText="Part No"

                    ReadOnly="True" UniqueName="column2">
                <telerik:GridBoundColumn DataField="itemShortDsc"

                    FilterControlAltText="Filter column3 column" HeaderText="Short Description"

                    ReadOnly="True" UniqueName="column3">
                <telerik:GridBoundColumn DataField="itemLongDsc"

                    FilterControlAltText="Filter column4 column" HeaderText="Description"

                    ReadOnly="True" UniqueName="column4">
                <telerik:GridBoundColumn DataField="itemQuantity"

                    FilterControlAltText="Filter column5 column" HeaderText="Quantity"

                    ReadOnly="True" UniqueName="column5">
                <telerik:GridBoundColumn DataField="itemUOM"

                    FilterControlAltText="Filter column6 column" HeaderText="UOM" ReadOnly="True"

                <telerik:GridTemplateColumn HeaderText="Unit Cost" UniqueName="sItemUnitCost"

                    AutoPostBackOnFilter="True" >
                    <telerik:RadTextBox id="Textbox50" Runat="server" Text='<%# Eval("sItemUnitCost") %> ' OnTextChanged="TextBox_TextChanged" />
                <editcolumn filtercontrolalttext="Filter EditCommandColumn column">
        <filtermenu enableimagesprites="False">
        <headercontextmenu cssclass="GridContextMenu GridContextMenu_Default">
Posted 22-Nov-12 3:28am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

An almost identical question appears with some answers here[^]

Probably the best response was to look up the help information here[^]
psychic6000 22-Nov-12 9:18am
thank you so much man, 2nd link helped.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.180111.1 | Last Updated 22 Nov 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100