Problem with UserControl and BO


Author
Message
Rainer Kempf, RK
Rainer Kempf, RK
StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)
Group: StrataFrame Users
Posts: 55, Visits: 1.4K
Hello,





I had a problem with a UserControl based on SFUserControl.



I use 3 Database. In the BO i set Datasourcekey always to the Databasename.



In my UserControl i dropped some BO to UserControl. All fine.



In Control no problems. I compile Control and Drop it on form.



Setup some Properties in Usercontrol on form and run form.



Form runs with no errors and COntrol works like it should.



Now i close Form.



When i next time load form in Designer i got errormessage.







The DataSourceKey [ERPSYSTEM] is not defined.



Warning An error occurred while creating a new DataLayer for the business object.D:\Projekte.Net\StrataTestForm\StrataTestForm\Form2.Designer.vb



this is Code from Designerfile :



Me.Controls.Add(Me.MksBaseGrid1)











MksBaseGrid1 is my Control. In this Control i had 1 BO where Datasourcekey ="ERPSYSTEM"





If i ignore the Error then Form will run with no errors but i am

not able to modify anything in designer for this form.



So what i wrong ??? I have really no idea



thanks for your help



Rainer
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search