Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
how to show limited characters in gridview columns using asp
Devendra Kumar
Aug 10 2016 7:40 AM
266
Reply
how to show limited characters in gridview columns using asp.net
but when click view details then it show full
like: how to show limited characters in
......... view details
then it show like:
how to show limited characters in gridview columns using asp.net
and i will be use like:
<asp:Label ID="lbl_productName" runat="server" Text='<%#Eval("query").ToString().Length > 10 ? Eval("query").ToString().Substring(0, 10)+"..." : Eval("query")%>'></asp:Label>
it hide text but when click details it's not visible dotted text
only show 10 charecters
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Why we use ASP.NET MVC for single page applications?
Mail Format is not working in outlook 2007 exchange server