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
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
priyadharshan sekar
NA
23
28.7k
how to bind multiple lines of text in repeater
Apr 18 2014 2:33 AM
I need to bind multiple lines of text from backend in repeater..
i have used this..
Text='<%#Limit(Eval("feedback_details"),40)%>'
aspx.cs file...
protected string Limit(object Desc, int length)
{
StringBuilder strDesc = new StringBuilder();
strDesc.Insert(0, Desc.ToString());
if (strDesc.Length > length)
{
return strDesc.ToString().Substring(0, length) + "...";
}
else return strDesc.ToString();
}
it displays the text in same line like this
this is a sample.......
i want to implement like this
this is a sample paragraph.
this is a sample paragraph.
this is a....
kindly help me..
Reply
Answers (
0
)
Asp.Net Log File
how to implement spell checker in mvc4 architecture