1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to show some contents in asp.net

Discussion in 'C#' started by bhuppi890109, Nov 8, 2010.

  1. #1
    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 ....
    SEMrush
     
    bhuppi890109, Nov 8, 2010 IP
    SEMrush
  2. longcall911

    longcall911 Peon

    Messages:
    1,672
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    0
    #2
    longcall911, Nov 8, 2010 IP
  3. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #3
    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....
     
    camjohnson95, Nov 9, 2010 IP
  4. bibinsmk

    bibinsmk Active Member

    Messages:
    205
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    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.
     
    bibinsmk, Nov 16, 2010 IP
  5. teamaguilar

    teamaguilar Peon

    Messages:
    197
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Using string function you can show limited characters and then show the full text when the link is clicked using JS
     
    teamaguilar, Nov 21, 2010 IP
  6. sweety8786

    sweety8786 Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    nice post. Thanks.
     
    sweety8786, Dec 1, 2010 IP