Need Help

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2005
Posts: 7
Reputation: roshan.prakash is an unknown quantity at this point 
Solved Threads: 0
roshan.prakash roshan.prakash is offline Offline
Newbie Poster

Need Help

 
0
  #1
Jan 30th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 130
Reputation: sedgey is on a distinguished road 
Solved Threads: 8
sedgey's Avatar
sedgey sedgey is offline Offline
Junior Poster

Re: Need Help

 
0
  #2
Jan 30th, 2007
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
David Ridgway: so little daylight, too much caffeine
MCSD MCAD MCSE
http://web2asp.net
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC