Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Go Back   Code Forums > Application and Web Development > MS Technologies ( ASP, VB, C#, .NET )
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 09-27-2004, 09:49 PM   #1 (permalink)
sureshkumar_kc
Registered User
 
sureshkumar_kc's Avatar
 
Join Date: Sep 2004
Posts: 12
sureshkumar_kc is on a distinguished road
web control

Difference between web control and user control ?
__________________
sureshkumar_kc is offline   Reply With Quote
Old 09-27-2004, 10:57 PM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,680
redhead is on a distinguished road
Web control, where??
I think webadmin is quite a good tool, altho it depends on what you are using it for..
On the other hand, I'd rather have shell access to a server, it makes me feel more @ home...

Otherwise I'm just babling here, in a sence where I have no clue what you are asking...
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 09-28-2004, 05:58 AM   #3 (permalink)
rdove
Masked Moderator
 
rdove's Avatar
 
Join Date: May 2002
Location: Indianapolis, IN
Posts: 260
rdove is on a distinguished road
A web control is a textbox, label, button, etc... that can be used in your ASPX pages.

A user control can be added to your project and reused many times. Think of it like Server Side Includes, but with more functionality. For example if you have 2 text boxes and 1 button that you are going to use in your web app repeatedly, the functionality of the form is going to be the same, you could create a user control and add the control to your form instead coding it over and over. You can also create your own custom controls like a graphing tool for example and use it in your project.

Now, one you didn't mention is a Web Custom Control. A Web Custom Control is essentially a user control, but you can use it across multiple applications effortlessly. With a user control you can use it in multiple applications, but you have to add the control to every project you want to use it in. With a Web Custom Control you can assign it a Strong Name and add it to the Global Cache Assembly (GAC). By doing this you can just add a reference to it and you do not have to compile the control with your code. Also, you can add Web Custom Controls to the VS.NET Server Explorer box for ease of use.
__________________
~Ryan

rdove is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Use XHTML? Arizona Web HTML / CSS 0 06-23-2004 08:49 PM
Blackout hits major Web sites sde Code Newbie News 0 06-16-2004 06:57 AM
ASP.NET: Day / Work Week / Week / Month web calendar control with view like MS Outloo gicio MS Technologies ( ASP, VB, C#, .NET ) 0 12-10-2003 10:05 AM
So What Is Web Design? sde Lounge 9 07-06-2003 02:32 AM
Capturing web page text vaclav VB 6 0 02-24-2003 02:42 PM


All times are GMT -8. The time now is 06:21 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle