1

I want to display a file content (HTML file) inside a web page using ASP. I'm trying to display 2 files and show the differences. So i need to color different rows. I tried with TextBox but i can not color a single row. Something like this but inside a browser. I should be able to easily navigate through rows. (like SetRowColor(rowNumber, color))

Thanks!

1
  • User should be able to edit file in browser and save it. Commented Oct 22, 2010 at 7:25

3 Answers 3

1

Depending you what your after it might work well using tables and nonbreaking rows

Sign up to request clarification or add additional context in comments.

Comments

0

I recommend you to use a DataGrid(GridView) and the valuable information from www.4GuysFromRolla.com There you will have row by row edition, and you will be able to save content anywhere. You can split lines from every file in two Datagrids(GridViews), using rows for that purpose. Coloring is really easy. Sure, it all needs work ;)

Hope that helps,

Comments

0

One way you can do this by actually doing a HTML encode on the HTML code and display it. Basically you would convert < and > to < and >. then you use a editable Div tag to edit it and save it.

HTH

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.