15,902,938 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Brian Risley (Top 2 by date)
Brian Risley
16-Feb-11 17:39pm
View
Our plan is to support the security to a certain extent in the xaml, as we have varying site security needs. We will have standard Xaml, but will have an option to load the Xaml from the database if an override is present. If a site wants to specifically control fields that appear in the Xaml, they will be able to do so. They may also add their own security flags which our logic will not have to know about. Certain tasks and some data may be restricted in the viewmodel by similar flags. Some of these controls aren't just for security information, we have customers who don't use some of our properties and don't want to see them. This way they can set a flag at the highest level in the Xaml override, and not see them or they can even redo the Xaml and remove them. We have no Single customer to design our views for, we have certain ideas and patterns, but the individual customer has the ability to control the fields. With this approach, we don't have to build the Xaml from scratch, just modify an existing template/base style. Our code won't be changed because one customer has to have field x removed or moved on a view.
Brian
Brian Risley
16-Feb-11 16:34pm
View
Problem is Viewmodel will not know what the security control handled by converter in Xaml has done.
I need either some sort of Xaml based trigger or an extension to the tabitem class that can detect the change and pass the tabcontrol and the current tab in to some processing logic that can output the destination tab and have it switched there. The security uses a lookup based on the current user to see if they have the proper right to a given key.
Brian