Error with usercontrol


Author
Message
Rav
Rav
StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)
Group: Forum Members
Posts: 10, Visits: 20
I have a usercontrol with a  BO and some textboxes bound to a businessBindingsource.  When I drag the usercontrol onto a blank strataframe standard form, i get an error "Failed to create component... cannot bind to property or column... Please see screenshot for the full error msg.  If I set the binding property of the textboxes to none, I can drag the control onto the form with no problem.
Attachments
error.jpg (115 views, 63.00 KB)
Replies
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yes, if you created your app with the "w/ Security" template, then there will be some code in the ShowLoginAndInitMainForm method of the AppMain.vb (Program.cs) file.  Just comment that code out and it will remove the login form.  There is also some other code that is in there that you'll probably want to comment out as well.  The help topic Ivan mentioned describes each extra piece and what it does.
Rav
Rav
StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)StrataFrame Beginner (10 reputation)
Group: Forum Members
Posts: 10, Visits: 20
Thank you Ivan and Ben
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Rav - 18 Years Ago
StrataFrame Team - 18 Years Ago
Rav - 18 Years Ago
Ivan George Borges - 18 Years Ago
StrataFrame Team - 18 Years Ago
                         Thank you Ivan and Ben
Rav - 18 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search