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

How to bind to a textbox

4 Answers 233 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
renejdm
Top achievements
Rank 2
renejdm asked on 14 May 2011, 09:10 PM

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

4 Answers, 1 is accepted

Sort by
0
Vassil Petev
Telerik team
answered on 17 May 2011, 01:19 PM
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.
0
Olivier
Top achievements
Rank 2
answered on 07 Nov 2014, 01:45 PM
Hello Vassil

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

- textbox
- checkbox
- radDatepicker

and etc....

Have you sample ?

thanks
0
Marin Bratanov
Telerik team
answered on 12 Nov 2014, 09:38 AM

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.

 
0
Olivier
Top achievements
Rank 2
answered on 16 Nov 2014, 10:57 AM
Thanks Marin , it's help me !
Tags
General Discussions
Asked by
renejdm
Top achievements
Rank 2
Answers by
Vassil Petev
Telerik team
Olivier
Top achievements
Rank 2
Marin Bratanov
Telerik team
Share this question
or