none
UocListView Issue RRS feed

  • Question

  • Hi All,

    I am trying to use UocListView control in User Edit RCDC. Below is the part of the code which I used for this:

    ###############

    <my:Control my:Name="MyAccount" my:TypeName="UocListView" my:ExpandArea="true" my:Caption="My Accounts:" >
            <my:Properties>
    <my:Property my:Name="ColumnsToDisplay" my:Value="DisplayName,AccountName,EmployeeType,ADAccountStatus"/>
    <my:Property my:Name="ResultObjectType" my:Value="Person"/>
    <my:Property my:Name="EmptyResultText" my:Value="NONE...."/>
    <my:Property my:Name="ListFilter" my:Value="/Person[(Manager = '%ObjectID%') and (EmployeeType = 'Cont' )]"/>
    <my:Property my:Name="PageSize" my:Value="7"/>
            <my:Property my:Name="ShowTitleBar" my:Value="true"/>
            <my:Property my:Name="ShowActionBar" my:Value="false"/>
            <my:Property my:Name="ShowPreview" my:Value="false"/>
            <my:Property my:Name="ShowSearchControl" my:Value="false"/>
            <my:Property my:Name="EnableSelection" my:Value="false"/>
            <my:Property my:Name="SingleSelection" my:Value="false"/>
            <my:Property my:Name="ItemClickBehavior" my:Value="Server"/>
            <my:Property my:Name="ReadOnly" my:Value="true"/>
        </my:Properties>
    </my:Control>

    ############### 

    Above code is working fine and I can see the user list with column names DisplayName, AccountName, EmployeeType, ADAccountStatus.

    Problem is that, DisplayName is showing as a link. However if I will click on the link(Display Name) then user detail view will not open because I have set ItemClickBehavior property as "Server".

    My  requirement is that, I don't want any link at all in the list view items. All items should show as plan text. 

    Could any of you please suggest any method to achieve my requirement.

    Thanks in advance!!



    Wednesday, September 25, 2013 6:15 PM

All replies

  • Hello,

    I think you cant disable the links, as items in ListView are references.

    Today i disable (but visible) the control, and the control became grey and without links, but i am able to click the items and it opens the popup windows.

    I testet this as an admin, maybe users are not abe to click, but i dont think so

    Regards
    Peter


    Peter Stapf - Doeres AG - My blog: JustIDM.wordpress.com

    Wednesday, September 25, 2013 6:28 PM