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

Two Way Data Binding

1 Answer 107 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
alo
Top achievements
Rank 1
alo asked on 01 Sep 2011, 05:46 AM
Is it possible to achieve two way data binding with OpenAccess entities and ASP.Net AJAX Rad Controls?  I've seen plenty of examples of binding to RadGrid and RadComboBox, but what I'm looking for is the best way to bind other controls like the RadTextBox and RadDatePicker that would be on a web page to an actual OpenAccess entity -- not an OpenAccessDataSource.

1 Answer, 1 is accepted

Sort by
0
Nikola
Telerik team
answered on 03 Sep 2011, 11:33 AM
Hello Alo,

Please check this thread out. It describes the way to do two way databinding for a RadTextBox. Two way databinding with other RAD controls is handled similarly.

For the OpenAccess part you will have to extend your DAL with additional code that could handle the CRUD operations of your entities. Probably the best approach is to use some of the data access patterns that best suits your needs. There are numerous examples on the web.

You can have a look at this help article in order to see how to work with object and the OpenAccessContext.

Hope that helps and don't hesitate to ask if you need further guidance.

Regards,

Nikola
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's SQL Server Community Awards. We are competing in TWO categories and every vote counts! VOTE for Telerik NOW >>

Tags
Development (API, general questions)
Asked by
alo
Top achievements
Rank 1
Answers by
Nikola
Telerik team
Share this question
or