StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Browsedialog, BO and user control
Browsedialog, BO and user control
Post Reply
Like
0
Browsedialog, BO and user control
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Chan
Chan
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 533,
Visits: 2K
Hi,
I have browsedialog and BO in user control. In my user control, I have code as below. However, after I keyin publisher name, search, select record from result list and click ok, I hit error "CurrentRowIndex = -1". I have set BOTranslation. Any ideas?
if (this.publisherbrowseDialog.ShowDialog() == DialogResult.OK)
{
this.booksBO.PublisherID = this.publishersBO.PublisherID;
}
Reply
Like
0
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Where are you trying to call the ShowDialog? The translations may have not yet occurred if you are calling this in the load. What happens if you reset the BusinessObjectToPopulate? This property may be holding onto an untranslated reference.
MyBrowseDialog.BusinessObjectToPopulate = MyBOOnTheUserControl
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
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