Default Users view

Last post 12-05-2007 3:07 PM by loki99. 2 replies.

Sort Posts:

  • Default Users view

    03-22-2005, 11:49 AM
    • Loading...
    • loki99
    • Joined on 03-08-2005, 5:44 AM
    • Posts 14
    Hello,
    I would like to change the view when I am editing users; I want it to display by date joined. Does anyone know the SP that sets that initial view? It is a pain to constantly change it with the drop down boxes.

    thanks
    Loki99
  • Re: Default Users view

    03-22-2005, 8:13 PM
    • Loading...
    • JIpock
    • Joined on 12-04-2003, 9:00 AM
    • Posts 11
    Hey dude.. Don't change the stored proc.. Not a good way to handle it.
    Look under Admin\EditUsers in your Project.
    Part 1: Set your desired items in the list box as "selected" in the designer. Here's an example:

    <asp:DropDownList id="dropSortBy" AutoPostBack="True" Runat="Server">
    <asp:ListItem Text="Username" Value="0" />
    <asp:ListItem Text="Full Name" Value="1" />
    <asp:ListItem Text="Date Joined" Value="2" selected='true' />
    </asp:DropDownList>

    <asp:DropDownList id="dropOrderBy" AutoPostBack="True" Runat="Server">
    <asp:ListItem Text="Ascending" value="0" />
    <asp:ListItem Text="Descending" value="1" selected='true' />
    </asp:DropDownList>

    That's part one. Now, in part two, change the alphapicker default:

    <community:AlphaPicker id="ctlAlphaPicker" Runat="Server" SelectedLetter="All"/>

    That's all it should take. I've only preliminary tested this, but it looks like it works ok. No SP changes, no nothing!


  • Re: Default Users view

    12-05-2007, 3:07 PM
    • Loading...
    • loki99
    • Joined on 03-08-2005, 5:44 AM
    • Posts 14

     Awesome !

     

    Thanks for your help. 

Page 1 of 1 (3 items)
Microsoft Communities
Page view counter