HighTechTalks DotNet Forums  

help...

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss help... in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Ollie
 
Posts: n/a

Default help... - 12-03-2004 , 09:28 AM






It's friday and this has been bugging me all week....

When should be a bit of functionality of a web page be a user control or a
custom control?

Cheers

Ollie Riches



Reply With Quote
  #2  
Old   
Kevin Spencer
 
Posts: n/a

Default Re: help... - 12-03-2004 , 11:31 AM






It all depends on what you just said... Could you translate that into
English?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Ollie" <ollie_riches (AT) hotmail (DOT) com> wrote

Quote:
It's friday and this has been bugging me all week....

When should be a bit of functionality of a web page be a user control or a
custom control?

Cheers

Ollie Riches





Reply With Quote
  #3  
Old   
Kevin Spencer
 
Posts: n/a

Default Re: help... - 12-03-2004 , 11:39 AM



I consulted a friend, and we think we understand. Let me see if I do, by
reiterating your question:

When should a bit of functionality in an ASPX page be a user control versus
a custom control?

Now, if this is correct, we need to define "user control" and "custom
control" in this context, which I believe you mean UserControls
(System.Web.UI.UserControl) versus System.Web.UI.Control derivatives, right?

The most salient difference between these is the template itself, which
makes it difficult to share UserControls between different apps, as they
have to be loaded by their physical location (URL). So, at the very least,
you should use custom Server Controls when you want to re-use them in
multiple apps.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Ollie" <ollie_riches (AT) hotmail (DOT) com> wrote

Quote:
It's friday and this has been bugging me all week....

When should be a bit of functionality of a web page be a user control or a
custom control?

Cheers

Ollie Riches





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.