StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
SF Messaging Editor - Category (How to?)
SF Messaging Editor - Category (How to?)
Post Reply
Like
0
1
2
Next
Jump To Page
SF Messaging Editor - Category (How to?)
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Trent Taylor
Trent Taylor
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Cool
Reply
Like
0
Edhy Rijo
E
Edhy Rijo
posted 15 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Thanks again Trent, that was the problem. Still learning new stuff every day!
Edhy Rijo
Reply
Like
0
Trent Taylor
Trent Taylor
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Change the binding property to Text instead of the SelectedValue. Bet that is your problem
Reply
Like
0
Edhy Rijo
E
Edhy Rijo
posted 15 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Here are some screenshots.
Edhy Rijo
Attachments
Combobox_ListPopulationSettings.png
(
111 views,
37.00 KB
)
ComboBoxProperties.png
(
107 views,
46.00 KB
)
Reply
Like
0
Edhy Rijo
E
Edhy Rijo
posted 15 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
I have setup my combobox and get the data OK, but if I type in the Category instead of selecting from the combobox it does not persist and is never saved. In other words, I cannot enter any value in the combobox.
What am I missing?
Edhy Rijo
Reply
Like
0
Trent Taylor
Trent Taylor
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
No problem
Reply
Like
0
Edhy Rijo
E
Edhy Rijo
posted 15 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Understood! thanks again
Edhy Rijo
Reply
Like
0
Trent Taylor
Trent Taylor
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
One more question, in the Tree shortcut menu there is an option to "Rename" the categories, I guess in your case you will just filter out the BO for this category and rename them all in a one pass, right? or is there another more efficient trick?
Actually I created a sproc to update all of the categories at once then I reload the BO. That way there are fewer changes and queries going back and forth. I did it as you had mentioned originally, but it was so slow the larger the project became that I did it in a single query, requeried, then set the index back on the changed item.
Reply
Like
0
Edhy Rijo
E
Edhy Rijo
posted 15 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Great, it is in fact simple.
One more question, in the Tree shortcut menu there is an option to "Rename" the categories, I guess in your case you will just filter out the BO for this category and rename them all in a one pass, right? or is there another more efficient trick?
Edhy Rijo
Reply
Like
0
Trent Taylor
Trent Taylor
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Sure. It really isn't that complicated. It is just another VarChar field in the same table. Then the combo populates with the Distinct values for the project. This way it doesn't "bleed" into other projects where the category is not defined. If you prefer to show all distinct categories across all projects (using this example) then you would not add a WHERE to filter out the categories for the project.
So generally I will create a FillWithDistinctCategories method in the BO that has the category field and then populate the combo from there.
Let me know if you need more explanation.
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
1
2
Next
Jump To Page
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search