944,198 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 968
  • ASP.NET RSS
Jan 30th, 2007
0

Need Help

Expand Post »
hi,

i have HTML
say str="<p>sdfdghg</>fl[phlgh][j;h]kj
,.F?hj........

i want to cut this string into muliple page but do not want to disturb the struncture of the HTML.

i want if the lenght of string is more than 500 suppose then it should be display in two pages..

How can i show this i m using Asp.net 2.0 and C#

Prakash
Reputation Points: 10
Solved Threads: 0
Newbie Poster
roshan.prakash is offline Offline
7 posts
since Dec 2005
Jan 30th, 2007
0

Re: Need Help

its not quite clear what you want exactly, but I would suggest keeping content and html seperately, otherwise you will have alot of trouble ensuring all html tags are properly closed. Why not have a master page which has a header and footer with all the required html tags, then you can split the content by checking string.Length and substring
Reputation Points: 68
Solved Threads: 9
Junior Poster
sedgey is offline Offline
130 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Master Page and CSS
Next Thread in ASP.NET Forum Timeline: Please anybody help to solve error "class not registered" problem in vs 2003





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC