CellEditTemplate does not change the binding

4 posts, 0 answers
  1. ronald
    ronald avatar
    54 posts
    Member since:
    Jan 2011

    Posted 24 Jan 2011 Link to this post

    <telerik:GridViewDataColumn DataMemberBinding="{Binding FirstName, UpdateSourceTrigger=Explicit}" Header="FirstName"/>

    The above code will correctly send the updated value to the source binding. However the below code will always send an empty string to the source binding. any ideas?

    <telerik:GridViewDataColumn DataMemberBinding="{Binding FirstName, UpdateSourceTrigger=Explicit}" Header="FirstName">
    <TextBox Text="{Binding FirstName}" />
  2. Maya
    Maya avatar
    4062 posts

    Posted 27 Jan 2011 Link to this post

    Hi ronald,

    I have tried to reproduce the issue you reported, but I was not able to. I am sending you the sample project I used for testing it. Let me know in case of any discrepancies according to your settings.

    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. Vega
    Vega avatar
    2 posts
    Member since:
    Oct 2009

    Posted 18 Mar 2013 Link to this post

    Hi, I have been having the same problem. I have downloaded the example project, however It does not solve the problem.

    The sample project has two columns called 'Name'. The first has a cell edit template, the second does not. If you edit the first column with the edit template enter a new value & hit enter, it reverts back to its original value. If you edit the second 'Name' column then the value is saved.

    How can I get a column with a cell edit template to save the value back to the property?
  4. Maya
    Maya avatar
    4062 posts

    Posted 19 Mar 2013 Link to this post

    Hello Ray,

    I am still not able to reproduce such issue. Please check out this small video illustrating my attempt to get the same behavior. Do I need to do something else ? What is the version of your binaries ? 

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top