hi friends...i want to show some contents out of large amount of data...and want to apply read more link so that after clicking the link all data will shows on next page..how can i show the some contents out of large data ....
You want to use the multiview control. Based on some event (normally onClientclick) a different view of the data/content is displayed. There is an example here: http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/standard/multiview.aspx
This can be done fairly easily. You have two options.. 1. You can load the complete text into a seperate div and show this when the link is clicked using javascript. 2. You can load the snippet into a div and use AJAX to load the complete text when the link is clicked. Option 2 would be the preferred method as the user will only load the data as they click it... otherwise they will be loading all the data with the page....
Using Multiview control in this scenario is not good. Because if you use multive view control in this situation loading time for the page will increase. Use can simply use database binding with label.
Using string function you can show limited characters and then show the full text when the link is clicked using JS