473,385 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How hard is it to convert from plain HTML Mockup to ASP.NET?

Hi,

Just wondering how much pain is involved in taking an existing website
created with Dreamweaver (mostly just plain HTML + some javascript) then
converting each page to ASP.NET with Code-Behind for each page?

The website is a mockup in plain HTML so there is no database hooked up yet.
I'm assuming plain HTML elements like input text boxes can easily be
replaced using the Visual Studio Designer.

Thanks for any help,
F.M.
Feb 27 '07 #1
3 1573
Frank wrote:
Hi,

Just wondering how much pain is involved in taking an existing website
created with Dreamweaver (mostly just plain HTML + some javascript) then
converting each page to ASP.NET with Code-Behind for each page?

The website is a mockup in plain HTML so there is no database hooked up yet.
I'm assuming plain HTML elements like input text boxes can easily be
replaced using the Visual Studio Designer.

Thanks for any help,
F.M.

You can just create a new aspx page for each html page, remove
everything except the @Page tag and just page the existing html code.
This will work, but that doesn't turn any controls into server controls.

You can keep some code including the form tag (with runat="server") from
the aspx page and put the contents from the html page into that. By
adding runat="server" and an id to the form fields, you can access them
from code behind. Or you can replace them with the equivalent web
controls. If this is easier to do in the code or in the designer,
depeneds on how you are used to work with hmtl.

--
Göran Andersson
_____
http://www.guffa.com
Feb 28 '07 #2
Would the code be more efficient by leaving html controls as such,
where there is no need to write any code-behind for that control ?
You can just create a new aspx page for each html page, remove
everything except the @Page tag and just page the existing html code.
This will work, but that doesn't turn any controls into server controls.

You can keep some code including the form tag (with runat="server") from
the aspx page and put the contents from the html page into that. By
adding runat="server" and an id to the form fields, you can access them
from code behind. Or you can replace them with the equivalent web
controls. If this is easier to do in the code or in the designer,
depeneds on how you are used to work with hmtl.

--
Göran Andersson
_____http://www.guffa.com
Feb 28 '07 #3
Yes, slightly more efficient as there is a few objects less to create,
but hardly enough to make a measurable difference.

Zeba wrote:
Would the code be more efficient by leaving html controls as such,
where there is no need to write any code-behind for that control ?
>You can just create a new aspx page for each html page, remove
everything except the @Page tag and just page the existing html code.
This will work, but that doesn't turn any controls into server controls.

You can keep some code including the form tag (with runat="server") from
the aspx page and put the contents from the html page into that. By
adding runat="server" and an id to the form fields, you can access them
from code behind. Or you can replace them with the equivalent web
controls. If this is easier to do in the code or in the designer,
depeneds on how you are used to work with hmtl.

--
Göran Andersson
_____http://www.guffa.com
--
Göran Andersson
_____
http://www.guffa.com
Feb 28 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Phil Powell | last post by:
I am one of 95 people on a project bid (I do freelance on the side), and the potential buyer wants for each of us to produce a professional L&F mockup based upon an existing site...
4
by: Nedo | last post by:
hi is there a simple way to convert a html-string to a plain text-string? thanks Nedo
29
by: Mark B | last post by:
We have an Access app (quite big) at www.orbisoft.com/download. We have had requests by potential users to have it converted to an SQL version for them since there corporate policy excludes them...
6
by: Joerg Battermann | last post by:
Hey there, mmmm does anyone know a library or anything I can use to convert plaintext to html real quick and vice-versa? Regex surely would do the trick to a certain level, but maybe there's...
12
by: Chris | last post by:
Hi, Just wondering if anyone out there knows if it is possible to convert a CSV to xml using XSLT? I've seen a lot of examples of xml to CSV, but is it possible to go back the other way? I...
3
by: Vlad | last post by:
Hi! My task: Take HTML -convert into plain text. Sub-task: 1. Find all urls within HTML (<a href="http://www.abc.com">More about baby bears</a>). 2. And convert them into plain text: More...
1
by: sharmajavaforum | last post by:
Hai, I have a small task. I have an .HTML file. I wanted to convert .HTML file into a plain .txt file. Means after i convert the file, the .txt file should contain only the text rather ...
8
by: geoffbache | last post by:
I have some marked up text and would like to convert it to plain text, by simply removing all the tags. Of course I can do it from first principles but I felt that among all Python's markup tools...
0
by: John Krukoff | last post by:
-----Original Message----- One method which wouldn't require much python code, would be to run the XHTML through a simple identity XSL tranform with the output method set to HTML. It would...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.