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

Two way binding?

2 Answers 124 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Cris
Top achievements
Rank 1
Cris asked on 17 Jun 2011, 10:18 AM
Hi,

I have a grid which has the DataSource property set to a collection of objects.
In the grid I have several textboxes bound to properties of the objects in the collection:

<telerik:RadTextBox ID="rtbKPIComments" Runat="server" Height="60px"
                      TextMode="MultiLine" Width="100%" Text='<%# Bind("ResultsExample") %>'>
</telerik:RadTextBox>

The textbox displays the value in the property, but the reverse binding (from control to property) doesn't work. The value in the control is correct, but it is not copied in the property.

What am I doing wrong?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 22 Jun 2011, 12:13 PM
Hi Cris,

Note that the required functionality is not supported by ASP.NET. Note that unbinding and getting the data back into the underlying data fields or properties is not available. Please refer to the following post which elaborates on this matter:
http://msdn.microsoft.com/en-us/magazine/cc163505.aspx


All the best,
Maria Ilieva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Maria Ilieva
Telerik team
answered on 22 Jun 2011, 12:13 PM
Hi Cris,

Note that the required functionality is not supported by ASP.NET. Note that unbinding and getting the data back into the underlying data fields or properties is not available. Please refer to the following post which elaborates on this matter:
http://msdn.microsoft.com/en-us/magazine/cc163505.aspx


All the best,
Maria Ilieva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Cris
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or