StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Custom business Binding Source
Custom business Binding Source
Post Reply
Like
0
Custom business Binding Source
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Charles R Hankey
Charles R Hankey
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 524,
Visits: 30K
< Cool! >
Thanks, Dustin
Reply
Like
0
Dustin Taylor
Dustin Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 364,
Visits: 771
You have to use "& lt;" (without the space) and "& gt;" (without the space) to get it to put the angle brackets. Otherwise it strips them
Reply
Like
0
Charles R Hankey
Charles R Hankey
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 524,
Visits: 30K
Trent, how did you format the code block with the attribute in your message above? I tried quote codesnippet and double bracket and didn't get any content ??
Reply
Like
0
Charles R Hankey
Charles R Hankey
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 524,
Visits: 30K
I guess I should have mentioned my comment was only meant in keeping with my new policy of blurting out any blatantly obvious thing I find
hoping some lurker who hasn't run across that one yet might benefit from it. I would encourage others to do the same. ( I am also hoping it will benefit me when i forget i knew that and do a forum search for an answer - anybody read
Sirens of Titan
? )
I benefited from your thread being here as the custom business binding source was shown in class last month, I thought I understood what was going on, then when I got home I couldn't find an example in the class examples, didn't see it in the toolbox and thought I might have dreamed the whole thing. (there was a
lot
of material to absorb)
Then while reading your question it hit me we were talking about adding a component to the solution and the wizard would set it up. I am still very new to this so I am looking for an example of where to use this outside of reporting.
I'm searching the help and forum and now for other posts on this, but if anyone has custom business binding samples, suggestions or tips feel free to throw them in here ...
Reply
Like
0
Paul Chase
Paul Chase
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 414,
Visits: 2.8K
Hi Charles you are right about the toolbox visible attribute it lives in component model and thus i would need to import or directly reference that assembly to get that attribute to work. But I dont think the issue with the component not appearing was from not importing or referencing component model which i did
, I created a custom attribute that was housed in a seperate asembly in my solution for whatever reason VS would see everything fine i..e no compiler errors etc, but the component would not show up until I restarted VS. I'm 99% positive that the issue was due the the custom attribute being just recently added to the solution during that same session VS gets silly about things like that sometimes and make you go crazy so I restarted it and everything worked as it supposed to. I guess because the custom attribute was causing some kind of a problem the toolbox attribute was never getting evaluated thus no item in my toolbox.
Reply
Like
0
Charles R Hankey
Charles R Hankey
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 524,
Visits: 30K
For lurkers
- for the attribute
_ to work you must either import systems.componentmodel
or set the attribute as
_
The component should appear after a rebuild unless there is another instance of VS open.
Reply
Like
0
Trent Taylor
Trent Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Sounds good
Reply
Like
0
Paul Chase
Paul Chase
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 414,
Visits: 2.8K
Got it.. I had to add a custom attribute as well and for whatever reason VS wouldn't show it in the toolbox until i restarted VS i guess because i had just added the custom attribute class VS needed to reload I got no error or anything. Well it works like it should now the custom BBS looks promising will let you know if i hit a wall , thanks
Reply
Like
0
Trent Taylor
Trent Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
By default, no. You will want to add the ToolboxItem attribute to the classes that you create that you want to show up in the toolbox.
<ToolboxItem(True)> _
Public MyClass
Inherits MicroFour.StrataFrame.Business.BusinessBindingSource(Of MyBOType)
End Class
Reply
Like
0
Paul Chase
Paul Chase
posted 16 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 414,
Visits: 2.8K
Just looking at this, is it not supposed to show up as a toolboxitem? I am going to work on integrating this into my report engine today and that is the first thing I noticed.
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