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
hanna matsudaira
NA
6
2.2k
Limiting Character Data
Sep 29 2013 9:35 PM
I have problems in limiting my character data and adding a 'read more' in it.
I am using this code
<%--<asp:Label ID="Label1" runat="server" Text='<%# Eval("BookSynopsis").ToString().Length>=100) ? Eval("BookSynopsis").ToString.SubString(0,100) :Eval("BookSynopsis") %>'></asp:Label>--%>
but it doesn't work at all..
I want my book synopsis to be a limit of 100 characters and if it exceeds the 'read more' will be shown and be directed in 'details page'.
,.please help me. Thank you..
Reply
Answers (
5
)
convert static web page to dynamic page
auto number with string in vb.net