CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 10/5/2007 9:19:08 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 4 Views: 22 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
steve.wilson
Asp.Net User
A website10/5/2007 9:19:08 AM

0

Hi Guys,

I am tearing my hair out at the moment.

I am trying to develop a website and I keep getting errors when I compile. The messages I get is that a control is not declared when it is. all of a sudden visual studio will come up with somthing silly like 64 errors when I build saying loads of controls have not been declared. They have been declared because I dragged them from the toolbox onto the page and they come up in dot notation.

What I would like someone to tell me is, What is the best method to develop webpages that are going to be hosted on a rented server. I mean do I choose a Solution, a project or a website.

If someone could just take me through the stages from when I choose a new Solution, project or website.

Also how can I copy webpages from my PC at work to my PC at home and keep the references.

Thanks for your help,

 

Steve.

RTernier
Asp.Net User
Re: A website10/5/2007 11:18:34 PM

0

Hey Man,

Welcome to ASP.NET.

A Solution is a "Grouping" of projects/files. Whenever you have a project, you will have a parent solution.

A Project (not a web applciation project) is a windows forms application.

A Website is a... well a website :P
A Web Application is a website that works like a project.

 I've always worked with Web Applications becuase I like the project structure rather than the website model - but let's work with websites in this case.

You have your website.

Inside this website you have your .aspx pages, a web.config file, a bin folder and probably a few other items.

In your main .aspx file that you're working with you have controls that you dragged on.

When you right click on your .aspx file and pick "View Source" you will see the source code for that .aspx file. that "code behind" file will be able to reference the controls you added to your web form. Now, make sure those controls you've added are <asp /> controls (like <Asp:textbox /> <asp:droPDownList /> etc. ). if they are not asp controls you will not be able to interact with them unless you add a runat="server" and an ID="" to them.

example of an ASP.NET control:

<asp:textbox id="txtMyTextBox" runat="server" />

example of an HTML textbox:

<input type="text" value="" />

If I wanted my HTML textbox to be manipulated by code I'd need to do it as:

<input id="myTextBox" runat="server" type="text" value="" />

 ---

Missed your last question.

Easiest way - Zip it up and mail it, use a USBKey, create a VPN (Hamatchi has a great one for this which cuts through port 80). I believe there are some online solutions that allow you to "share" a folder online and you can get to it from any computer.

 

hope that helps. 


The Killer Ninja Coding Monkeys thank those that mark helpful posts as answers.

My Site | My Examples | My Blog
steve.wilson
Asp.Net User
Re: A website10/6/2007 8:15:36 AM

0

Hi There,

Thanks for the reply and taking the time to fully explain I appreciate it.

Ok I have looked at the source and the code behind and the controls are declared as <asp:textbox id="txtFirstname" etc. I think my Visual Studio is a bit screwed. Is there a way to get VS to re-reference the pages.

I like the sound of a web application, what are the steps to create a web application.

Once again thanks for your help.

Best Regards,

 

Steve.

RTernier
Asp.Net User
Re: A website10/6/2007 6:04:45 PM

0

If you`ve installed Service Pack 1 you should be able to create a web application.

Create New Project, Web, Web Application. It`s in there. 


The Killer Ninja Coding Monkeys thank those that mark helpful posts as answers.

My Site | My Examples | My Blog
steve.wilson
Asp.Net User
Re: A website10/7/2007 10:55:09 AM

0

Hi There,

Ok, yes I see it.

Thanks for your help.

 

Best Regards,

Steve.

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Building a Web Site for Dummies Authors: David A. Crowder, Pages: 382, Published: 2007
Create Your Own Website Authors: Scott Mitchell, Pages: 195, Published: 2005
Usability and Internationalization: Second International Conference on Usability and Internationalization, UI-HCII 2007, Held as Part of HCI International 2007, Beijing, China, July 22-27, 2007 : Proceedings Authors: Nuray Aykin, Pages: 576, Published: 2007
How to Build a Website and Stay Sane Authors: Jonathan Oxer, Pages: 152, Published: 2007
Managing Small Business: An Entrepreneurial Emphasis Authors: Carlos W. Moore, Justin Gooderl 1917- Longenecker, Pages: 744, Published: 2008

Web:
Website - Wikipedia, the free encyclopedia Aug 30, 2008 ... A website (or "web site") is a collection of related web pages, images, videos or other digital assets that are hosted on one web server, ...
How To Create A Web Page Covers text, linking, graphics, forms, frames, java, and troubleshooting.
Weebly - Create a free website and a free blog Create a free website or blog in minutes by using a simple drag and drop interface. No ads. One of Time's 50 best websites of the year.
Validating a Website « WordPress Codex Validating a website is the process of ensuring that the pages on the website conform to the norms or standards defined by various organizations. ...
The Million Dollar Homepage - Own a piece of internet history! The website of Alex Tew, a 21-year-old entrepreneur, who hopes to pay his way through university by selling 1 million pixels of internet ad space for $1 ...

How to get a session count on a website - ng.asp-net-forum.security How to get a session count on a website, > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net.security, Date: 8/8/2007 2:24:38 PM, ...
Web Site Administration page errror - ng.asp-net-forum.security Web Site Administration page errror, > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net.security, Date: 12/14/2006 7:54:16 PM, Replies: 4, ...
Web Site Administration Tool very slow - unable to connect to SQL ... Web Site Administration Tool very slow - unable to connect to SQL Server Database, > ROOT > NEWSGROUP > Asp.Net Forum ...
Missing website menu from Visual Studio 2005 Project - ng.asp-net ... Missing website menu from Visual Studio 2005 Project, > ROOT > NEWSGROUP > Asp. Net Forum > visual_studio.visual_studio_2005, Date: 1/30/2008 6:49:14 PM, ...
AJAX Enable Website. - ng.asp-net-forum ... AJAX Enable Website., > ROOT > NEWSGROUP > Asp.Net Forum > visual_studio. visual_web_developer_2005_express, Date: 10/19/2007 11:21:41 AM, Replies: 1, ...

Videos:
Cartman and South Park conduct a website review meeting ... Funny video showing what it might be like to work with Cartman. The video was originally made for a one-time only showing at the 2007 iRise ...
21/03/09 - Police Target Lex Wotton Benefit - West End ... 2 arrests were made following police harassment of a Palm Island Indigenous man leaving a benefit gig held to support Lex Wotton’s family. Lex ...
Create a Website - What You Need to Get Online Learn how to create a website and improve your web presence. Understand how to get online and how domains, hosting, SSL, online marketing and ...
HTML Tutorial - Designing A Website In Notepad In this HTML website design tutorial I will teach you how to write and format your very first web page using HTML. Difficulty Level: Easy ...
How to Build a Website In 30 mins Using xSitePro 2 Watch me show you how to create a complete website from scratch using xSitePro 2- I believe that almost anyone could build a professional website ...












vs2005 is xhtml compliant

no copy project

using vs2005, source control and different development levels

refector doesn't work?

objectdatasource with wizard

remote server development, frontpage server extensions & wildcards.

help!! i missing all controls on webpage.

debuger nightmare - idle timeout after 5 seconds

missing vs 2005 build menu items

precompiled website? working with developers without releasing source code

new visual source safe and remove locations

directoryentry class and 3.5 framework

iis hangs when running a web project

remote debugging , can someone recommend a how-to for setup

cannot add new data source - "data sources" pane greyed out

how to switch b/w design and html source mode through keys.

enable linkbutton's after clicking the another linkbutton

sql connection to the web host server

working offline with vs2005

unable to view web controls on vs2005 ide

asp.net 2.0 on vs 2003

prompted for network username and password when connecting to asp 3.0/fpse with vs 2005

main()

how to define gridview paramaters for update sql

extending sqldatasource - where's the toolbox icon?

problem: pages do not load completely from within vs2005

availability of visual studio 2005 team suite 180-day evaluation

hiding some codes in visual studio 2005 code editor?

problem printing webpage

duplicating html when controls are added to page from toolbox

   
  Privacy | Contact Us
All Times Are GMT