StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
DataGridView and sync other controls
DataGridView and sync other controls
Post Reply
Like
0
DataGridView and sync other controls
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Randy Jean
Randy Jean
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 105,
Visits: 641
Excuse me for being so dense, but I'm trying to create a simple form, 1 business object, businessbindingsource, datagridview and a multiline textbox for displaying text from the same bo that my datagridview is bound to. I populate my BO in the load of the form. Text in my corresponding textbox shows from first row, but when I "navigate" through my grid, textbox is not updated with data and I can't see evidence that the currentrowindex is even changing on the BO.
I've looked at the sample for businessbindingsource (can't run it now because I don't have access to the strataframe sample database offline and don't know how to get it without installing, which I don't want to do because I have copied newer dlls) - anyway, I set a breakpoint in my businessobject navigated method and also try updating a label to show the currentrowindex - it never fires as I move through my grid. For the life of me I can't seem to figure out how to simply refresh other controls bound to the same BO that my datagridview/businessbindingsource is bound to. I don't have a toolstrip or anything like that. I can't believe how many hours I've spent on this. Any help would be appreciated. Everything I'm reading/looking at makes it seem like this should just work the way I have it.
One more thing... Anybody know how to get my textbox to wrap on the carriage return (without line feed) and not show the little square box (which is the carriage return) without having to add line feeds?
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
DataGridView and sync other controls
Randy Jean
-
17 Years Ago
Hi,
One possible cause is that is broken rule on row.
Chan
-
17 Years Ago
I finally gave up and created a new form with same bo and...
Randy Jean
-
17 Years Ago
Randy, I am glad that you found your issue. As we would have directed...
Trent L. Taylor
-
17 Years Ago
Hello Randy, I do the following to syncronize a few textboxes (on a...
Ralph Rutschmann
-
17 Years Ago
I just verified the businessbindingsource sample works as expected and...
Randy Jean
-
17 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search