TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Using SharePoint Designer in Data View Web Part using the people picker with multiple names Display
Sagar Pardeshi
Oct 14
2014
Code
2.4
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
Ex. 2; #abc;3;#pqr
Ans: abc;pqr
<
script
type
=
"text/javascript"
>
function CleanNames(textclean) {
return text2clean.replace(/[;#0-9]+/g, "; ");
}
</
script
>
Then call it from your XSL
<
xsl:if
test
=
"string-length(@Employess) != 0"
>
<
script
type
=
"text/javascript"
>
document.write(CleanNames("
<
xsl:value-of
select
=
"@Employess"
/>
"));
</
script
>
</
xsl:if
>
remove special character