This is a migrated thread and some comments may be shown as answers.

[Solved] CellValueChanged event & value of GridViewComboBoxColumn

1 Answer 303 Views
GridView
This is a migrated thread and some comments may be shown as answers.
mr_iq73
Top achievements
Rank 1
mr_iq73 asked on 29 Apr 2010, 12:29 AM
Want to change the value of one cell based on the value of other. Here is want I'm doing.
The RadGridView (unbounded) is not displaying the the changed value. Both columns are of type GridViewComboBoxColumn.

private void trDetailsRadGridView_CellValueChanged(object sender, GridViewCellEventArgs e)
{
    if(e.Column.HeaderText == "Acc Code")
    {
        e.Row.Cells["accTitle"].Value = e.Row.Cells["accCode"].Value;
    }
}

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 29 Apr 2010, 10:31 AM
Hello mr_iq73,
 

This code should work when column names are correct. Please confirm this. If the issue continues to appear please send us your application and I will try to locate the issue.

A bit off topic, please ask the person who has purchased our controls in your company to add you as a License Developer to the purchase. This will give you full access to the products your company has purchased, to our downloads section, and to our support ticketing system. Additionally, all your questions will be reviewed according to the license you have. More information on License Developers you can find here: www.telerik.com/account/faqs.aspx.

Greetings,
Jack
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
mr_iq73
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or