I am creating a custom webpart to display the content of an announcement list similar to that of the Summary View of List View webpart. However I am not able to limit the character length of announcement body to 250 characters due to the presence of rich content in the body. Due to the project requirement creating a custom webpart is essential and I cannot use the OOB list view webpart. Is there a way to achieve similar functionality through code? Any help is highly appreciated.
Thanks in advance, Ankita