sorting with alphabets in sp2010
-
Monday, May 14, 2012 6:37 AM
hi,
my requirement is to sort / filetr the username based on the lastname/firsname in people picker.
left side on the page i must have
last name(with alphsbets a-z)hyperlinks
first name(a-z)hyperlinks
rightside it has to display the users based on the alphabet i select.
can any one help me .
custom coding required for this
regards,
All Replies
-
Thursday, May 17, 2012 8:30 AM
Hi,
Based on my research, the “Select People (and Group) – Web Dialog” page is located at 14Hive\TEMPLATE\LAYOUTS\picker.aspx. Open this .aspx file, you will find assembly Microsoft.Sharepoint.ApplicationPages, which is in the _app_bin folder of your web application root: C:\Inetpub\wwwroot\wss\VirtualDirectories\<yourwebapp>\_app_bin.
By default, it will sort alphabetically by Display Name column. So you need to recreate a new picker.aspx to replace the default one, then sort the result according to your requirements, for example, last name and first name.
Rock Wang
Rock Wang TechNet Community Support
- Marked As Answer by Rock Wang– MSFT Saturday, May 26, 2012 4:59 AM
-
Wednesday, May 23, 2012 6:09 AM
hi ,
thanks for ur reply
any custom code for this , can i have some links which can help me .
thanks,
susheel
-
Saturday, May 26, 2012 3:16 AM
Hi,
I think you will have to customize the PeoplePicker. Here is a good blog post on how to customize the EntityEditorWithPicker: http://igorinnet.blogspot.com/2007/10/customizing-entityeditorwithpicker.html
Thanks,
Rock Wang
Rock Wang TechNet Community Support
- Marked As Answer by Rock Wang– MSFT Saturday, May 26, 2012 4:59 AM

