Connecting Tech Pros Worldwide Forums | Help | Site Map

When to create a new web user control

Andy B
Guest
 
Posts: n/a
#1: Jun 27 '08
I have to create a complex page view that is based on dynamic code and
datasources. I will also be using this page view more than once in the same
project. Was wondering if this was good game for a new web user control?
That way all I had to do was drop it on a page, set some properties on it
and be done with it...




=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
 
Posts: n/a
#2: Jun 27 '08

re: When to create a new web user control


You got it!
-- Peter
To be a success, arm yourself with the tools you need and learn how to use
them.

Site: http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://ittyurl.net


"Andy B" wrote:
Quote:
I have to create a complex page view that is based on dynamic code and
datasources. I will also be using this page view more than once in the same
project. Was wondering if this was good game for a new web user control?
That way all I had to do was drop it on a page, set some properties on it
and be done with it...
>
>
>
>
Cowboy \(Gregory A. Beamer\)
Guest
 
Posts: n/a
#3: Jun 27 '08

re: When to create a new web user control


Reuse, as Peter has stated, is a very good reason for a user control. If you
have to reuse on many projects, you might even bite off a bit more and
create a server control.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"Andy B" <a_borka@sbcglobal.netwrote in message
news:%23soT9dhpIHA.6096@TK2MSFTNGP06.phx.gbl...
Quote:
>I have to create a complex page view that is based on dynamic code and
>datasources. I will also be using this page view more than once in the same
>project. Was wondering if this was good game for a new web user control?
>That way all I had to do was drop it on a page, set some properties on it
>and be done with it...
>
>
>

Andy B
Guest
 
Posts: n/a
#4: Jun 27 '08

re: When to create a new web user control


I dont think I have enough programming know how to make a server control...


"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@comcast.netNoSpamMwrote in
message news:%23R6o9VupIHA.4672@TK2MSFTNGP05.phx.gbl...
Quote:
Reuse, as Peter has stated, is a very good reason for a user control. If
you have to reuse on many projects, you might even bite off a bit more and
create a server control.
>
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
>
Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss
>
or just read it:
http://gregorybeamer.spaces.live.com/
>
*************************************************
| Think outside the box! |
*************************************************
"Andy B" <a_borka@sbcglobal.netwrote in message
news:%23soT9dhpIHA.6096@TK2MSFTNGP06.phx.gbl...
Quote:
>>I have to create a complex page view that is based on dynamic code and
>>datasources. I will also be using this page view more than once in the
>>same project. Was wondering if this was good game for a new web user
>>control? That way all I had to do was drop it on a page, set some
>>properties on it and be done with it...
>>
>>
>>
>
>

Closed Thread