Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bring a Preexisting Page into Visual Studio... HELL 1

Status
Not open for further replies.
Mar 13, 2005
32
US
I built our site and a template to build new web pages with Dreamweaver - put some flash into it, etc. Now I want to built a form with the template I made and it's hell.

Visual Studio is yelling about some the html tags used by DM and VS is seems terrible with editing web pages. I hate using frames but it seems like that would be easier to build the vb/asp page separately and load it into a separate frame than the alternatives.

What's the best way to start working with preexisting pages in VS without developing an aneurism? Is there a better way?

Thanks for the help!
 
The HTML warnings in visual studio are to be ignored.
Take any HTML page and make <%@ Page %> the very first line, change the extension from .htm to .aspx and you have an ASPX page.

If you are adding server controls then you add this first add the correct form tags.

<form Runat=server>
<asp:button runat=server>
Your server controls go here!
</form>

If you want a code behind then a quick short cut is to close the file, right click in solution explorer and select exclude from project (if it is not already), then right click again and select include. It will ask "Do you want code behind?" Select yes.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top