Quantcast
Channel: eXpandFramework RSS
Viewing all articles
Browse latest Browse all 861

BLOG by Dennis Garavsky: The CollectionsEditMode option gets more flexible

$
0
0
Let me quote myself from the 

"Starting with the version 13.2, you will be able to control this behavior vis-a-vis the DetailView via the CollectionsEditMode property exposed in the Model Editor for Web projects:

[XML]

<Views>
<DetailViewId="Contact_DetailView"CollectionsEditMode="View"></DetailView>
</Views>


The above setting in the XAFML file will enable the View mode only for the Contact DetailView, while the rest application will use the default mode or the one specified in code:

[C#]

protectedoverridevoidOnLoggedOn(LogonEventArgsargs){
base.OnLoggedOn(args);
ShowViewStrategy.CollectionsEditMode=ViewEditMode.Edit;
}


Personally, I love when working on something big small things like this one get attention and are resolved. I hope you like this too:-)

Viewing all articles
Browse latest Browse all 861

Trending Articles