StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Binding - user control
Binding - user control
Post Reply
Like
2
Binding - user control
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Ivan George Borges
Ivan George Borges
posted 12 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame MVPs
Posts: 1.9K,
Visits: 21K
Glad it helped, Fabian.
Reply
Like
2
Fabian R Silva, -
Fabian R Silva, -
posted 12 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 153,
Visits: 1.2K
I ended using a workaround in
post 30229
, basically creating a dummy hidden textbox, and putting in the form's beforesave event a setfocus on this dummy textbox.
thanks.
Reply
Like
2
Fabian R Silva, -
Fabian R Silva, -
posted 12 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 153,
Visits: 1.2K
I created a usercontrol (IBusinessBindable) that have a property "IdBinding", this control have a textbox that when someone type here, a description appears and idbinding change, I see that the business object only refresh the related field only when the control lost focus, I tried put this.Validate() on the setter of idBinding but this doesn't works, this doesn't refresh the field
What I'm doing wrong? how I can force to refresh the field on the business object field when the binded property change without have to lose focus on the user control?
I need this because when the user change data on this user control and saves, the control doen't lose focus and the BO field that is binded to the user control is not refreshed / changed on the data side (sql)
Thanks.
Tags
bind
binding
IBusinessBindable
UserControl
Reply
Like
2
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
2
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search