How to bind to a textbox

5 posts, 0 answers
  1. renejdm
    renejdm avatar
    2 posts
    Member since:
    Feb 2007

    Posted 14 May 2011 Link to this post

    Hi,

    Perhaps someone can help me out. I am trying to do something that should be extremely easy with OpenAccess. Complex DataBinding to a textbox. I have not been able to accomplish this with OpenAccess. I have been trying this unsuccessfully for 3-4 weeks. Does anyone know how to do this? If so, could you please post some example code. I am using SQL Server Compact 3.5 and WinForms.

    I can successfully add, update, and delete records from one table in a grid. Nothing else works.

    Also, Telerik support has been terrible. They take many days to give an ambiguous answer. So far they are the worst support I have encountered. I regularly deal with <admin>company name removed</admin> and <admin>company name removed</admin>. Also, I have had great success with <admin>product name removed</admin> as an ORM. This product works very well however crud is painful (lots of code). This is why I was interested in OpenAccess. Telerik advertises it as great for CRUD. I'm hoping someone can help me before I throw this product in the garbage.

    Rene

  2. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 17 May 2011 Link to this post

    Hi Rene,

    Binding a text box control to a property of an OpenAccess entity is extremely easy and can be configured with the Windows Forms designer. Please, find attached a simple project that demonstrates this. In order to test it do the following:
    1. Run the application
    2. Select a row from the grid
    3. The value from the age column of the selected row should be shown in the text box bellow the grid
    4. Change the value in the text box
    5. Click a row in the grid in order to make the binding persist the value from the text box to the selected object (this is necessary because the binding is configured to persist the value on validation, this behavior is configurable and you can change it if necessary)
    6. Press the save changes button in order to save the changes you made
    7. If you restart the application you should see that the changed value was persisted
    We have sent you similar applications and instructions in the other tickets you have on the topic (which we replied to yesterday).

    Please, reply back in any of the tickets/posts in case you need further instructions.
     
    As to the support - we are sorry to hear that you feel this way. The support package that you have purchased is guaranteed 48 hour support, Monday - Friday. We will nevertheless do our best to reply faster in the future so that you are able to get up to speed faster. I have adjusted your account to help you with this.

    In order to obtain faster replies, please use the support ticketing system (it assigns the corresponding support plan to your tickets). The Forums do not come with guaranteed response time, although we try to reply within 72 hour in the Forums. Also, please post your questions as soon as have them. Obviously, you will get faster responses during the week (i.e. if you post something on Friday, we will reply back on Monday).
     
    Regards,
    Vassil
    the Telerik team
    Q1’11 SP1 of Telerik OpenAccess is available for download; also available is the Q2'11 Roadmap for Telerik OpenAccess ORM.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Olivier
    Olivier avatar
    146 posts
    Member since:
    Nov 2010

    Posted 07 Nov 2014 Link to this post

    Hello Vassil

    i would like to know if it's possible to Bind on Webform

    - textbox
    - checkbox
    - radDatepicker

    and etc....

    Have you sample ?

    thanks
  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 12 Nov 2014 Link to this post

    Hello Olivier,

    I see that your other thread with the same question has already been answered and I suggest the communication continues there to keep each thread concise: http://www.telerik.com/forums/two-way-data-binding-control-for-webform.


    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. Olivier
    Olivier avatar
    146 posts
    Member since:
    Nov 2010

    Posted 16 Nov 2014 in reply to Marin Bratanov Link to this post

    Thanks Marin , it's help me !
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017