Two Way Data Binding

2 posts, 0 answers
  1. alo
    alo avatar
    53 posts
    Member since:
    Jan 2009

    Posted 01 Sep 2011 Link to this post

    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.
  2. Nikola
    Nikola avatar
    27 posts

    Posted 03 Sep 2011 Link to this post

    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.


    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 >>

  3. DevCraft banner
Back to Top