.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Forum >> SharePoint >> Post New QuestionBookmark and Share Subscribe to Forum

Displaying multi lines of text column in a list/data view in sharepoint 2010

Posted By: Aruna     Posted Date: February 15, 2012    Points:5   Category :SharePoint

i have a custom list with a column story details which is of multiple lines of text type.

i want to display the list/data view of this list with story details column. the first 3 lines of the field only has to be displayed with a more link at the bottom. when user clicks on more link the entire story should get opened as similar to RSS feed web part.

any way to achieve this scenario in sharepoint 2010?

Author: amukhtargill             
Posted Date: April 19, 2012     Points: 20   

You can go for a Data View Web part to achieve your requirment. Using a j Query or a small java scritpt function you can achieve the show hide behavior. Also about trimming down the characters for three lines can be achieved easily using a javascript in-line function

Don't miss to visit http://www.dshift.com/sponline providing easy migrations from sp2007 to SP 2010 and online
Free Download SharePoint Online Tool http://www.dshift.com/downloads/migrator/dshiftspo.zip

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend